Re: [whatwg/fetch] Add proxy support to obtain a connection (#1259)

I've removed the WebSocket bits from this PR. I suggest we add those in #1244 by introducing a new optional boolean websocket parameter to obtain a connection that handles proxy preference sorting and dedicated HTTP/1 or (shared) HTTP/2+ connection.

I would be open to adding more details/notes around proxies, including pointing out pitfalls and dangers. I'm also okay with doing that as a follow-up. (Also very amenable to someone trying to standardize them more properly. It's somewhat astonishing there's essentially no standard for 25yo technology that works everywhere.)

-- 
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/pull/1259#issuecomment-868285679

Received on Friday, 25 June 2021 07:26:38 UTC