dotnet-httpclient35
dotnet-httpclient35 copied to clipboard
A complete port of Mono's System.Net.Http assembly to .NET 3.5
On .net 3.5, if request have a content, the RequestStream on WebRequest is not closed/disposed. So the actual request hang indefinitely. If the copy request task is wrapped in using,...
After this library was originally created, the Microsoft implementation of the same functionality was released under a compatible open source license. The current implementation should be replaced by the new...
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 ).
In a manner similar to the [Rackspace.Collections.Immutable](https://www.nuget.org/packages/Rackspace.Collections.Immutable/) library, the public types in this assembly should provide `[TypeForwardedTo]` attributes to support upgrading to newer (framework-provided) versions of the `HttpClient` library without...
The name of the compiled binary is **System.Net.Http.dll**. This name is the same as the binary provided in the [Microsoft.Net.Http](https://www.nuget.org/packages/Microsoft.Net.Http/) package, which makes it difficult to seamlessly upgrade the reference...