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
route.fulfill hang if fed with response containing newline in its value but on the other hand response.headers() joins multiple headers (like multiple set-cookie headers) into a single line separated with newline.
set-cookie: a
set-cookie: b
becomes
{'set-cookie': 'a\nb'}
when fetch via response.headers().
I think there should be a standard on how to handle header field with multiple values. Having it returns and receive Array is better in my opinion.
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
Describe the bug
route.fulfill
hang if fed with response containing newline in its value but on the other handresponse.headers()
joins multiple headers (like multipleset-cookie
headers) into a single line separated with newline.becomes
when fetch via
response.headers()
.I think there should be a standard on how to handle header field with multiple values. Having it returns and receive
Array
is better in my opinion.The text was updated successfully, but these errors were encountered: