Skip to content

disable chunked encoding #9

Open
@mathias-goebel

Description

@mathias-goebel

Using the client in eXist-db we encountered the issue that Transfer-Encoding: chunked is set automatically. When dealing with an REST service that is not able to parse chunked encoding (corpus delicti: python hug) we solved the issue by setting HTTP version to 1.0 by using an the undocumented attribute http-version within the request element. This solution is clearly a work around.

  • Is there a way to disable the usage of chunked encoding?
  • Why is this attribute not part of the documentation? Is it subject to be removed later on?

In addition it might be useful to get an overview of the rules to set the Transfer-Encoding header.

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