dotnet-httpclient35
dotnet-httpclient35 copied to clipboard
ConnectionClose error
HttpClient throws an ArgumentException when setting the DefaultRequestHeaders.ConnectionClose property. I removed the process of setting the HttpWebRequest.Connection property for the error (see also: https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.connection.aspx ).
Hi @clown,
After our first release of this library (which is based on the Mono implementation), Microsoft open sourced their own implementation of System.Net.Http. I'm thinking about bringing over that code to replace the entire current implementation. I haven't made a final decision on this yet, so I'll still evaluate this pull request in the meantime. :smile: