Skip to content
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

fix: "identity" has been deprecated #1909 #1919

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

ksw2000
Copy link
Contributor

@ksw2000 ksw2000 commented Dec 13, 2024

Fixes #1909

According to modern HTTP/1.1 specifications RFC 7230 identity as a value for Transfer-Encoding was removed in the errata to RFC 2616. See section "HTTP Transfer Coding Registry" in https://www.iana.org/assignments/http-parameters/http-parameters.xhtml

In this PR, I still follow the implementation in net/http to retain the logic for handling Transfer-Encoding: identity. However, identity will not be included in the output headers.

@ksw2000 ksw2000 marked this pull request as ready for review December 13, 2024 06:43
@erikdubbelboer erikdubbelboer merged commit bdcbf61 into valyala:master Dec 15, 2024
15 checks passed
@erikdubbelboer
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interoperability issues with reverse proxy (Transfer-Encoding: identity)
2 participants