You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually defining HTTP parsing is something I thought of doing at some point, and @gsnedders put some effort in, but it would be quite a bit of work and given that HTTP/2 changes this dramatically as I understand it due to the header compression tables it's unclear how much interest there is in cleaning up 0.9-1.1.
https://fetch.spec.whatwg.org/#concept-header-value
What about headers for which this is not true? It seems like browsers allow any byte sequence, as discussed in nodejs/http-parser#281.
Fetch should probably be the spec that defines the error handling for "invalid" server responses.
The text was updated successfully, but these errors were encountered: