public void SendZippedResponse(HttpListenerResponse response, StringResponseData data) { SendZippedResponse(response, new ByteResponseData(Encoding.GetBytes(data.Content), data.ContentType)); }