-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
3.4.4 - invalid constant string when no response headers. #3402
Comments
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are #3219 (Header parsing regression in 3.4 w/ empty headers), #659 (Invalid Header stops processing Body?), #3118 (3.4.0 release), #2120 (Invalid content-type header causes LookupError), and #506 (cannot alter response headers from middleware for started StreamResponses). |
I tried converting this over to use a request lib and got a slightly different error of which I hope this can help:
|
Browsers have a lot of tricks to parse malformed HTTP messages but aiohttp handles HTTP RFCs plus very limited set of workarounds, sorry. |
Is there any chance we can get a work around for this? There is nothing I can do about this web server it's on my local network and is out of my control. |
Sorry, aiohttp cannot help you. |
I noticed that my request are failing and that no response headers are returned when this happens. If I go into chrome and click copy response headers it gives me
HTTP/0.9 200 OK
The text was updated successfully, but these errors were encountered: