3 ms·
But then again, an HTTP server is allowed to provide different semantics for an URLs depending on the authority portion of those URLs. So, no, this is not remo
by cryptonector 7y ago
But then again, an HTTP server is allowed to provide different semantics for an URLs depending on the authority portion of those URLs.
So, no, this is not remotely Ok at all.
- kelnos 7y agoAgreed, but consider that the internet, and state of HTTP hosting, was a very different place in 1995. Was the Host header even a thing back then? (And if it was, was it widely deployed?) This is clearly wrong in hindsight, but I could see why it was naively designed that way in the first place. Regardless, given all Java's warts, this doesn't even make my top 10.
- cryptonector 7y agoSure, but since no one in their right mind wants this behavior now, it's best to rip it out and fix the spec to not require it.