-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
warcio does not preserve HTTP header whitespace #129
Comments
This is sort of an edge case, and the whitespace was at one point used to indicate multi-line headers (which have now been deprecated, but warcio still supports). I'm not sure that the whitespace is significant anymore from a parsing perspective. |
FWIW, I've never seen an HTTP server that returns a header like this, so (i hope) its not very common :) |
The whitespace on the line with the Yeah, it is fortunately not very common, but I have seen it before, sadly enough. There are a lot of weird HTTP servers out there that operate at the edges of or beyond the specifications... |
Expected output for the custom header (where
\t
is a literal tab):Actual output (only one space between the colon and the value, and the tab after the header is lost):
The text was updated successfully, but these errors were encountered: