We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Due to this line, the HTTP client always sets the Content-Length header. I think this header should be omitted for GET-requests with a length of 0.
Content-Length
The text was updated successfully, but these errors were encountered:
Yup, RFC seems to imply we should not include it https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2 https://datatracker.ietf.org/doc/html/rfc7230#section-3.3
I would guess our client has a similar problem that Dart's one had at some point dart-lang/sdk@6c254fa
Do you have an example of a server that breaks with current behavior?
Sorry, something went wrong.
No branches or pull requests
Basic Infos
Platform
Settings in IDE
Problem Description
Due to this line, the HTTP client always sets the
Content-Length
header.I think this header should be omitted for GET-requests with a length of 0.
The text was updated successfully, but these errors were encountered: