Skip to content

add sends Transfer-Encoding header twice #2190

@RichardLitt

Description

@RichardLitt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions