public string GetContent() { if (_content != null) { return(_content); } var stream = Advanced.GetResponseStream(); if (Headers.AllKeys.Contains("Content-Encoding") && Headers["Content-Encoding"].Contains("gzip")) { stream = new GZipStream(stream, CompressionMode.Decompress); } var reader = new StreamReader(stream); _content = reader.ReadToEnd(); reader.Close(); stream.Close(); return(_content); }