://
在网络协议(protocol)中有什么意义?例如 ftp://
或 http://
设计模式有原因吗?为什么它不只是 http:
或 http.
或类似 http~
任何对此文档的引用都将不胜感激。
最佳答案
根据 Tim Berners-Lee 的说法,“在当时看来是个好主意”:
Sir Tim Berners-Lee, the creator of the World Wide Web, has confessed that the // in a web address were actually "unnecessary".
He told the Times newspaper that he could easily have designed URLs not to have the forward slashes.
"There you go, it seemed like a good idea at the time," he said.
He admitted that when he devised the web, almost 20 years ago, he had no idea that the forward slashes in every web address would cause "so much hassle".
http://news.bbc.co.uk/2/hi/technology/8306631.stm
看来没有特别的原因。
关于http - 为什么 Web 协议(protocol)设计为具有 ://suffix?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31146292/