Earlier quoted context omitted.
One reason for that is explained well in a comment on the article. Note that as with the Windows version, the protocol is HTTP, not HTTPS – because captive portals completely break TLS, but plaintext HTTP will result in a clean redirect to the portal, allowing the network service to detect the presence of the portal and to bring up a browser window to let the user authenticate. ( https://devblogs.microsoft.com/oldnew…
Why not just fire off a DNS request ? Not blocked by captive portals, and you get free caching.
Mayeb that's the problem?