1
Vote

Text encoding is not specified, it may be garbled

description

HttpLib 1.0.8
Redslide.HttpLib/HttpLib/Request.cs
        private static Action<WebHeaderCollection, Stream> StreamToStringCallback(Action<string> stringCallback)
        {
            return (WebHeaderCollection headers ,Stream resultStream) =>
            {
                using (StreamReader sr = new StreamReader(resultStream))
                {
                    stringCallback(sr.ReadToEnd());
                }
            };
        }

comments

JumpKick wrote Jul 16, 2014 at 5:31 PM

Accepted for 1.1.9