Re: [whatwg/fetch] HTTP 101 response NOT for websockets (Issue #1397)

I thought this was no longer valid, but it still is. It now affects this line:

> If status is 101, break.

Another way of handling this might be to refactor "process early hints response" and make it work for any 1xx response, requiring the caller to filter.

Thinking about it, perhaps that's even necessary? Or does a WebSocket handshake succeed if the server first sends a 199 and then a 101? And what about a 199 and then a 103?

cc @bashi @noamr 

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

Message ID: <whatwg/fetch/issues/1397/1129713597@github.com>

Received on Wednesday, 18 May 2022 08:19:54 UTC