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