Skip to content

4.2.2

Choose a tag to compare

@scottoffen scottoffen released this 21 Jun 01:38
· 8 commits to main since this release
b4ed479

Update Default Version

The default Version on the HttpRequestMessage has been updated from 1.0 to 2.0.

Query Parameters

Updates how query parameters are added and stored in order to allow for multiple values for the same key. Previously, if a key was added twice, only the second value ended up in the query parameters.

Disable Chunked Transfer Encoding

When using the extension method WithJsonContent(), the Content-Length header gets set to -1. In most cases, this is not an issue. In most cases, this is the desired and correct behavior. Occasionally it is not. See this issue for more information.

In those rare cases where this causes issues with the server you are communicating with, this behavior can now be disabled using the new DisableChunkedTransferEncoding() extension method.