Chunked transfer encoding
See original GitHub issueHi,
I use an express middleware that set to chunked
the transfer-encoding
headers
'transfer-encoding': 'chunked'
In that case, I get the following error :
The request could not be satisfied. CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
To make my request works, in the forwardResponseToApiGateway
function of the aws-serverless-express/index.js
file I remove this header.
Do you think you could make chunked transfert encoding pass ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
Chunked transfer encoding
Chunked transfer encoding is a streaming data transfer mechanism available in Hypertext Transfer Protocol (HTTP) version 1.1, defined in RFC 9112 §7.1.
Read more >Transfer-Encoding - HTTP - MDN Web Docs
Chunked encoding is useful when larger amounts of data are sent to the client and the total size of the response may not...
Read more >HTTP Chunked Encoding
Chunked encoding is useful when a large amount of data is being returned to the client and the total size of the response...
Read more >What Is HTTP Chunked Encoding? How Is It Used?
HTTP Chunked Encoding involves dividing data into smaller blocks. Breaking up data into smaller pieces allows for near-instant load times.
Read more >HTTP Chunking
HTTP 1.1 supports chunked encoding, which allows HTTP messages to be broken up into several parts. Chunking is most often used by the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@abhigna I think the
transfer-encoding: chunked
issue still exists. I’ve tried to useaws-serverless-express
withgraphql-server-express
today and I run into the same issue as @denneulinChunked encoding still isn’t working, but we are now deleting the header for you https://github.com/awslabs/aws-serverless-express/commit/4d54a81b831eca97524f15b72fa8be379c80aedb#diff-168726dbe96b3ce427e7fedce31bb0bcR54