public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("URI:" + uri.AbsoluteUri); if (Cookies != null) { foreach (HttpCookie cookie in Cookies) { sb.AppendLine("Cookie:" + cookie.Name + ":" + cookie.Value); } } sb.AppendLine("Gzip:" + Gzip.ToString()); sb.AppendLine("Method:" + Method); sb.AppendLine("ContentLength:" + ContentLength.ToString()); sb.AppendLine("KeepAlive:" + KeepAlive.ToString()); sb.AppendLine(); sb.AppendLine(Data); return(sb.ToString()); }