[软件工程] HTTP报文是什么样子的?.pdf

[复制链接]
发表于 2022-4-26 19:23:29
上一讲我们在机器最小化的环境下做了两次HTTP协议的实验,用Wireshark抓包,搞清楚了HTTP协议的基本工作流程,即“request-response”“一发一发”接收“”模式。
可见HTTP的工作方式非常简单。由于底层的具体传输工作由 TCP/IP 协议负责,所以 HTTP 协议在这方面基本不用太担心。单从这一点来看,所谓的“超文本传输??协议”根本不在乎“传输”,有点“名不副实”。
那么HTTP协议的核心部分是什么?
答案是它传输的消息的内容。
HTTP协议在规范文档中详细定义了消息的格式,指定了组件、解析规则和处理策略,因此可以在TCP/IP层实现更灵活丰富的功能,如连接控制、缓存管理、数据编码、内容协商等

(Last time, we did two experiments of HTTP protocol in the environment of machine minimization, captured packets with Wireshark, and figured out the basic workflow of HTTP protocol, that is, "request response", "one send and one receive" mode.HTTP works in a very simple way. Since the specific transmission work of the bottom layer is in the charge of TCP / IP protocol, HTTP protocol basically doesn't need to worry too much in this regard. From this point of view alone, the so-called "hypertext transmission protocol" doesn't care about "transmission" at all, which is a bit "untrue".So what is the core of HTTP protocol?The answer is the content of the message it transmits.HTTP protocol defines the message format in detail in the specification document, and specifies the components, parsing rules and processing strategies. Therefore, it can realize more flexible and rich functions in TCP / IP layer, such as connection control, cache management, data coding, content negotiation, etc)

[下载]19232708088.rar
[下载]19232838843.rar
[下载]19232880962.rar
[下载]19232805312.rar
[下载]19232930718.rar
[下载]19232985959.rar




上一篇:Web编程入门经典:HTML、XHTML和CSS(第二版).pdf
下一篇:09-HTML5 Canvas 游戏开发实践.pdf

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表