Re:Java's URL.equals() Performs DNS Resolution
by Slartie on Wednesday December 11, 2019 @03:43PM
(#21766606)
Your b) was actually only ever true for the HTTP protocol, but URLs are not strictly limited to that protocol. They are not limited to any finite set of protocols at all. You could easily make up your own protocol which differentiates between host names in a similar way as modern HTTP does. And you could have made that in 1995.
[ Parent
| on HN ]
Re:Java's URL.equals() Performs DNS Resolution
by jefftk on Wednesday December 11, 2019 @03:51PM
(#21766690)
You could have made one in 1995, but looking over https://www.iana.org/assignments/protocol-numbers/protocol-n... I think HTTP/1.1 was the first protocol to send the host name like this. (Though I could be missing something, since that's a lot of protocols.)