Skip to content

Support to Chunk-Encoded Requests #13

@JulioJu

Description

@JulioJu

Hi !

When we could see in __roast_headers__, on each request `Content-Length is automatically append in the header request.

even if the roast file is like :

POST http://google.fr
PUT http://google.fr
DELETE http://google.fr

Note: for GET http://google.fr the Content-Length header is not added.

It's a big problem because if we want specify the header Transfer-Encoding: chunked it cause a conflict.
The HTTP specification says:
"Expert Info (Warning/Malformed): The Content-Length and Transfer-Encoding header must not be set together" (message from Wireshark).

See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding

Maybe it could be cool to have a way to not add automatically this HEADER field.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions