Skip to content
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

disable chunked encoding #9

Open
mathias-goebel opened this issue Dec 10, 2019 · 2 comments
Open

disable chunked encoding #9

mathias-goebel opened this issue Dec 10, 2019 · 2 comments

Comments

@mathias-goebel
Copy link

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.

@adamretter
Copy link
Member

@mathias-goebel there is also another undocumented attribute called chunked which you can set like chunked="false".

Unfortunately I don't have access to the EXPath website, and so there is no way for me to update the documentation.

@fgeorges
Copy link
Member

Thank you @mathias-goebel. It is rather the opposite, it is not part of the document because it was meant to be added.

@adamretter It might be a good idea to use the Github page publication mechanism (I think it would be something like expath.github.io, I am not sure how it works). So the website is entirely published from a repository in the EXPath group in Github. Unfortunately I can't do it myself, but if you think this would help, let's open a new issue and look for a volunteer :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants