Re: [whatwg/fetch] "Extract a MIME type" algorithm should pick the first entry? (#529)

I see. Considering the following, `extract header list values` would return failure when there are multiple entries. So, the fix is not what I said in the OP but pick the single entry while asserting it's a single element list if it's not either null or failure.
- https://tools.ietf.org/html/rfc7230#section-3.2.2
- https://tools.ietf.org/html/rfc7231#section-3.1.1.5
- https://tools.ietf.org/html/rfc7231#section-3.1.1.1

-- 
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/529#issuecomment-295662438

Received on Thursday, 20 April 2017 10:03:47 UTC