Re: [whatwg/fetch] Draft changes to "obtain a websocket connection" (#1244)

@annevk commented on this pull request.



>  
 <ol>
- <li><p>Let <var ignore>host</var> be <var>url</var>'s <a for=url>host</a>.
+ <li><p>Let <var>proxies</var> be the result of performing proxy resolution for <var>url</var> in an
+ <a>implementation-defined</a> manner. If a proxy preference order has not been explicitly
+ configured then socks proxies should be preferred to https proxies which should be preferred to
+ http proxies.
+
+ <!-- Since this depends on the url it probably needs to be hoisted out of this algorithm. -->

Ah, but that sounds like a problem for "obtain a connection" in general. I think we should add proxy support there instead and then layer this on top. Do you agree?

-- 
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/1244#discussion_r653506559

Received on Thursday, 17 June 2021 12:14:55 UTC