HTTP请求+响应的名称 [英] Name for HTTP Request+Response
本文介绍了HTTP请求+响应的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在rfc 2616中找不到一件事,那就是请求/响应对的规范名称。是否有这样的事情?
There's one thing I haven't found in rfc 2616 and that's a "canonical" name for a request/response pair. Is there such thing?
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
将此作为模板,您将在下面的句子中添加哪个单词?
Taking this as a template, which word would you put in the following sentence?
A single complete HTTP ... consists of one HTTP Request and one HTTP Response
HTTP-... = Request Response
往返?循环?
推荐答案
规范称它们为交换(或请求/响应交换),
The spec calls them "exchanges" (or "request/response exchanges"),
在HTTP / 1.0中,大多数实现为每个$
请求/响应交换使用
a新连接。在
HTTP / 1.1中,连接可用于
一个或多个请求/响应交换。
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请求+响应的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文