[whatwg/fetch] HTTP/1 parsing (#1156)

HTTP/1 was poorly tested for error handling and as a result implementations are not interoperable. This lack of interoperability reaches Fetch at times. Where HTTP/1 itself takes no stance or implementations cannot follow it, it might make sense to document it in Fetch or at least document it in this issue.

* status-line parsing: https://github.com/web-platform-tests/wpt/pull/5102
* status-code parsing: https://github.com/whatwg/fetch/issues/1142
* CR parsing: https://github.com/web-platform-tests/wpt/pull/13524
* 0x00 parsing: https://github.com/whatwg/xhr/issues/165#issuecomment-380447687 (apart from Firefox and a bug in Safari this is pretty close; agreement here is network error)
* field-value is "incorrect": https://fetch.spec.whatwg.org/#concept-header-value (there is agreement on this, modulo 0x00 above)

cc @whatwg/http 

(Previously there was https://wiki.whatwg.org/wiki/HTTP.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1156

Received on Monday, 1 February 2021 09:42:29 UTC