52ky 发表于 2022-4-27 09:05:10

四通八达:HTTP的重定向和跳转.pdf

在专栏的第一讲中,我说过为了实现在互联网上构建超链接文档系统的愿景,蒂姆·伯纳斯-李发明了万维网,使用 HTTP 协议来传输“超文本”,让人们都全S界都可以自由地分享信息。
“超文本”包含“超链接”,可以从一个“超文本”跳转到另一个“超文本”,这是对传统线性结构文档的根本改变。
使用“超链接”在网络上任意位置跳转的能力也是万维网的一个关键特性。它将分散在S界各地的文档连接成一个复杂的网络结构,用户可以在查看时随意点击链接和切换页面。此外,浏览器提供了“前进”、“后退”、“书签”等辅助功能,让用户在文档之间跳转更方便,更具主动性和交互性。
那么,点击页面的“链接”时的跳转是什么?具体来说,比如点击Nginx首页的“下载”链接,会发生什么?
结合前几节课,稍微思考一下给你答案:浏览器首先解析链接文本中的URI。

(In the first lecture of the column, I said that in order to realize the vision of building a hyperlink document system on the Internet, Tim Berners Lee invented the world wide web and used HTTP protocol to transmit "hypertext", so that people can share information freely all over the world."Hypertext" contains "hyperlinks", which can jump from one "hypertext" to another "hypertext", which is a fundamental change to the traditional linear structure document.The ability to jump anywhere on the web using "hyperlinks" is also a key feature of the world wide web. It connects documents scattered all over the world into a complex network structure. Users can click links and switch pages at will. In addition, the browser provides "forward", "backward", "bookmark" and other auxiliary functions, which makes it more convenient for users to jump between documents, more initiative and interaction.So, what is the jump when clicking on the "link" of the page? Specifically, for example, what happens when you click the "download" link on the home page of nginx?Combined with the previous lessons, think a little and give you the answer: the browser first parses the URI in the link text.)







页: [1]
查看完整版本: 四通八达:HTTP的重定向和跳转.pdf