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
Transfer-Encoding
Content-Length
The HTTP RFCs specify that messages containing both Content-Length and Transfer-Encoding headers are to be handled by either
OLS does this correctly when the Transfer-Encoding header comes after the Content-Length header, but not when it comes before.
For example, if you send the following request to OLS, the Content-Length header will be incorrectly prioritized over the Transfer-Encoding header.
POST / HTTP/1.1\r\n Host: whatever\r\n Transfer-Encoding: chunked\r\n Content-Length: 5\r\n 0\r\n \r\n
This behavior exists both when OLS is acting as an origin and as a proxy.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The HTTP RFCs specify that messages containing both
Content-Length
andTransfer-Encoding
headers are to be handled by eitherContent-Length
header, orOLS does this correctly when the
Transfer-Encoding
header comes after theContent-Length
header, but not when it comes before.For example, if you send the following request to OLS, the
Content-Length
header will be incorrectly prioritized over theTransfer-Encoding
header.This behavior exists both when OLS is acting as an origin and as a proxy.
The text was updated successfully, but these errors were encountered: