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

@ricea 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. -->

The URL is passed to the `FindProxyForURL()` function in the proxy.pac file. proxy.pac can in principle choose a different proxy depending on the URL path, although apparently this [didn't work properly in IE](https://en.wikipedia.org/wiki/Proxy_auto-config#Old_Microsoft_problems).

-- 
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_r651787213

Received on Tuesday, 15 June 2021 13:26:03 UTC