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

Not correctly constructing resp body with h11 #107

Closed
theelous3 opened this issue Feb 12, 2019 · 0 comments
Closed

Not correctly constructing resp body with h11 #107

theelous3 opened this issue Feb 12, 2019 · 0 comments

Comments

@theelous3
Copy link
Owner

Logic around forming bodies sometimes leads h11 to believe the server remote protocol errs. Unsure of cause at time of writing, but using streamed responses working well in places of failure.

Guessing something to do with being provided no headers? The parsing and logic here is bad.

{'server': 'nginx/1.10.0', 'date': 'Mon, 11 Feb 2019 17:22:24 GMT', 'content-type': 'application/json', 'content-length': '904', 'connection': 'keep-alive', 'vary': 'Accept-Encoding'}

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

1 participant