-
Notifications
You must be signed in to change notification settings - Fork 23
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
"InvalidResponse: invalid header" error on some websites #94
Comments
The linked site contains a multi-line continuation of a header value
While Firefox and cURL still parse line-folded headers like these, the HTTP specification seems to have deprecated them stating that new implementation should not produce them. Crates like #97 contains a quick fix, but again I am not convinced that we should bloat |
On some websites, e.g. http://opentrainer.ru, attohttpc fails with the following error:
Firefox and curl work fine.
32 websites out of the top million from Feb 3 Tranco list are affected.
Tested using this code. Test tool output from all affected websites: atto-invalid-header.tar.gz
The text was updated successfully, but these errors were encountered: