Re: [whatwg/fetch] HTTPS upgrades proposal (PR #1655)

It's subtle, but because only the scheme is changed the port remains unchanged. And when the scheme is "http" the port is either null or a non-80 integer (due to the URL parser). And when you go make a request and the scheme is "https" and the port is null, it uses 443.

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

Message ID: <whatwg/fetch/pull/1655/c1941504000@github.com>

Received on Tuesday, 13 February 2024 13:21:36 UTC