-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
add
sends Transfer-Encoding header twice
#2190
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
Comments
Also why is there a |
curl sends |
That is good to know! Thanks! |
add
sends Transfer-chunked header twiceadd
sends Transfer-Encoding header twice
The duplicated transfer-encoding is still obviously wrong :) |
Resolved in: #2465 |
What
Transfer-chunked should only be sent once.
Example
$ curl -F "file=test" -i http://localhost:5001/api/v0/add HTTP/1.1 100 Continue HTTP/1.1 200 OK Access-Control-Allow-Headers: X-Stream-Ouptut, X-Chunked-Output Access-Control-Expose-Headers: X-Stream-Ouptut, X-Chunked-Output Content-Type: application/json Trailer: X-Stream-Error Transfer-Encoding: chunked X-Chunked-Output: 1 Date: Tue, 12 Jan 2016 15:55:41 GMT Transfer-Encoding: chunked
Made apparent during ipfs-inactive/http-api-spec#17
The text was updated successfully, but these errors were encountered: