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

fix(client): disable response encoding #256

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Aug 9, 2022

This fixes enarx/enarx#2087. When ureq is imported with gzip feature, Accept-Encoding is set, which breaks the Drawbridge client, since in that case Content-Length is not set. Current implementation of Drawbridge requires full response to be sent verbatim without encoding.

Regarding enarx/enarx#2087 (comment), that is out-of-scope, because there is no support for streaming in Drawbridge client, this PR is a bug fix. Streaming/chunked transfer feature will be implemented as part of #255

@rvolosatovs rvolosatovs requested review from a team and bstrie as code owners August 9, 2022 08:08
@rvolosatovs rvolosatovs enabled auto-merge (rebase) August 9, 2022 08:08
@rvolosatovs rvolosatovs added the bug Something isn't working label Aug 9, 2022
@rvolosatovs rvolosatovs merged commit 987dc93 into enarx:main Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make enarx user info work
2 participants