3 ms·
Thanks to virtual hosting (which is extremely common) host resolution is actively harmful to URL comparison.
by BenjiWiebe 7y ago
Thanks to virtual hosting (which is extremely common) host resolution is actively harmful to URL comparison.
- jefftk 7y ago> Thanks to virtual hosting (which is extremely common) It's extremely common now, but it wasn't possible yet when they made this design decision.
- pdw 7y agoI'm pretty sure the specification of this class predates name-based virtual hosting. After all, that only appeared in 1997, or perhaps late 1996, and it took a couple of years to be standardized. The URL class existed in Java in 1995 :) (Edit: And really, virtual hosts are an extremely weird HTTP feature. What other internet protocol cares about what domain name you used to establish a connection?)
- merb 7y ago> (Edit: And really, virtual hosts are an extremely weird HTTP feature. What other internet protocol cares about what domain name you used to establish a connection?) kerberos? (btw. this is older than 1995) or smtp (little bit different than the http version, tough)