-
Notifications
You must be signed in to change notification settings - Fork 200
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
When fetching with body from the request 'Content-Length' is missing. #522
Labels
behaviour mismatch
Different behaviour to Workers runtime
Comments
mrbbot
added a commit
that referenced
this issue
Mar 23, 2023
Previously, using a `Request`/`Response` `body` in another `fetch` request, without copying over headers would send the request with `Transfer-Encoding: chunked`. The Workers runtime will remember the `Content-Length` here, so we now attach it to the stream.
mrbbot
added a commit
that referenced
this issue
Mar 23, 2023
…#545) Previously, using a `Request`/`Response` `body` in another `fetch` request, without copying over headers would send the request with `Transfer-Encoding: chunked`. The Workers runtime will remember the `Content-Length` here, so we now attach it to the stream.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test script. Request sent to the http:https://127.0.0.1:8000/foo is chunked.
The text was updated successfully, but these errors were encountered: