dotnet-httpclient35 icon indicating copy to clipboard operation
dotnet-httpclient35 copied to clipboard

ConnectionClose error

Open clown opened this issue 10 years ago • 1 comments

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 ).

clown avatar Jul 22 '15 08:07 clown

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:

sharwell avatar Jul 22 '15 17:07 sharwell