Skip to content

Comment on Cool URIs Don't Change (1998)parent

Comments

Jeez that's a heck of a redirect chain. The :443 is an odd choice no? And the redirect to https://domain before https://www.domain. There are even two more for me. Also... inconsistent casing for the Location header? Different parts of the server stack I suppose.

    Location: https://logitech.com:443/mx
    location: https://www.logitech.com:443/mx
    location: https://www.logitech.com/en-us/mx.html
    location: https://www.logitech.com/discover/c/master-series
    location: https://www.logitech.com/en-us/discover/c/master-series.html

443 is just the default https port, so not really? It doesn't add anything as browsers use that port by default when the scheme is https.

Sure, it just seems odd to specify it. I haven't seen that in a link in a long time. I don't usually snoop Location redirect chains in my browser though, so maybe it's more common than I think.

http:// → https:// → https://www. is actually the recommended technique, because it lets an HTTP-Strict-Transport-Security subdomains directive work.

But the rest could have been flattened into the second redirect.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.