Incorrect header combining (flattening?)
Categories
(Core :: Networking: HTTP, enhancement, P3)
Tracking
()
People
(Reporter: annevk, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Reporter | ||
Comment 1•7 years ago
|
||
Comment 3•7 years ago
|
||
![]() |
||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Updated•3 years ago
|
Comment 7•3 years ago
•
|
||
We have made changes with regard to parsing of response headers for XHR and fetch for the Bug 1697421.
The changes have fixed the General header combining problem mentioned in the bug Description.
As a result we could see that the wpt cases added for this bug (https://github.com/web-platform-tests/wpt/pull/13471) are passing:
https://wpt.fyi/results/fetch/api/basic/header-value-combining.any.html?label=master&label=experimental&aligned&view=subtest&q=header-value-combining
https://wpt.fyi/results/xhr/getallresponseheaders.htm?label=master&label=experimental&aligned&view=subtest&q=getallresponseheaders.htm
https://wpt.fyi/results/xhr/getresponseheader.any.worker.html?label=master&label=experimental&aligned&view=subtest&q=getresponseheader.any
However, we still have the following issues within the scope of this Bug:
Issue 1. content-length parsing
https://wpt.fyi/results/fetch/content-length/parsing.window.html?label=master&label=experimental&aligned&view=subtest&q=parsing.window
Issue 2. x-content-type options parsing
https://wpt.fyi/results/fetch/nosniff/parsing-nosniff.window.html?label=master&label=experimental&aligned&view=subtest&q=parsing-nosniff.window
Issue 3. Content-type parsing in general does not completely adhere to the fetch spec.
Issue 3 is tracked by Bug 1510180.
I propose to fix only Issue 1 and Issue 2 with this Bug.
Reporter | ||
Comment 8•3 years ago
|
||
That sounds good to me Sunil, thanks for tackling this!
Updated•3 years ago
|
Comment 9•2 years ago
|
||
Unassigned from myself, will revisit this when I have some cycles.
Updated•2 years ago
|
Description
•