⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Added trailer header support for http/2#303

Merged
joeferner merged 1 commit intojoeferner:masterfrom
sweet-peach:fix/http-trailer
Mar 1, 2024
Merged

Added trailer header support for http/2#303
joeferner merged 1 commit intojoeferner:masterfrom
sweet-peach:fix/http-trailer

Conversation

@sweet-peach
Copy link
Contributor

The basic node.js http library uses http/1, so you have to specify 'transfer-encoding: chunked' for requests that include trailers. In http/2 there is no need to specify this header and most sites have stopped doing it. As a result, when the headers are parsed, our server cannot find the header 'transfer-encoding: chunked' and causes an error

The basic node.js http library uses http/1, so you have to specify 'transfer-encoding: chunked' for requests that include trailers. In http/2 there is no need to specify this header and most sites have stopped doing it. As a result, when the headers are parsed, our server cannot find the header 'transfer-encoding: chunked' and causes an error
@joeferner joeferner merged commit 128580a into joeferner:master Mar 1, 2024
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.

2 participants