- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 14 Jun 2021 07:51:30 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 14 June 2021 14:52:06 UTC
@annevk commented on this pull request. Why is there so much proxy logic here? Couldn't that be moved to obtain a connection? > <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. --> Why does this depend on the URL? > <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. Need to capitalize SOCKS, HTTPS, and HTTP. -- 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#pullrequestreview-683009148
Received on Monday, 14 June 2021 14:52:06 UTC