http - HTTP 请求+响应的名称

标签 http naming http-1.1

RFC 2616 中我还没有找到一件事(“超文本传输​​协议(protocol)——HTTP/1.1”),这是请求/响应对的“规范”名称。有这种东西吗?

4.1 Message Types :

4.1 Message Types

   HTTP messages consist of requests from client to server and responses
   from server to client.

       HTTP-message   = Request | Response     ; HTTP/1.1 messages

以此为模板,你会在下面的句子中加入哪个词?

A single complete HTTP ... consists of one HTTP Request and one HTTP Response

    HTTP-... = Request Response

往返?循环?

最佳答案

规范称它们为“交换”(或“请求/响应交换”)。

根据 section 1.4, "Overall Operation" :

In HTTP/1.0, most implementations used a new connection for each request/response exchange. In HTTP/1.1, a connection may be used for one or more request/response exchanges […]

关于http - HTTP 请求+响应的名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/325346/

相关文章:

java - 间歇性 NGINX 错误 : client sent invalid chunked body

asp.net - 是什么导致 IIS 接收到 HTTP 动词 "2GET"

jquery - 从此 ajax 调用获取 http 状态

c - 如何命名一个好的/有意义的类型?

c# - 如何命名遍历树的方法和属性,就像在完全展开的文件夹浏览器中向下移动一样?

java - 在 Java 中读取 gzip 分块数据 HTTP 1.1

bash - 如何在 CURL shell 脚本中捕获超时/错误?

java - Java从客户端发送整数到服务器

java - 命名约定或目录结构

.net - 如何在 .NET 3.5 中进行 HTTP 1.1 长轮询?