New issue
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
reply: remove content-length when Transfer-Encoding is added #3814
Conversation
After testing, it is actually not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
Just a bit :)
// < 200. | ||
// < 200 | ||
// A sender MUST NOT send a Content-Length header field in any message | ||
// that contains a Transfer-Encoding header field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// that contains a Transfer-Encoding header field. | |
// that contains a Transfer-Encoding header field. | |
// See: https://tools.ietf.org/html/rfc7230#section-3.3.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This url has been added at the first line of this code comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Can you send a backport PR to v3.x? It did not update automatically |
Actually no need! |
@climba03003 Thanks for your rebase |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Due to https://tools.ietf.org/html/rfc7230#section-3.3.2
Checklist
npm run test
andnpm run benchmark
and the Code of conduct