Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
A request or response is an [@https://tools.ietf.org/html/rfc7230#section-3 HTTP message] (referred to hereafter as "message") having two parts: a header with structured metadata and an optional variable-length body holding arbitrary data. A serialized header is one or more text lines where each line ends in a carriage return followed by linefeed (`"\r\n"`). An empty line marks the end of the header. The first line in the header is called the ['start-line]. The contents of the start line contents are different for requests and responses.请求或响应统称为 HTTP 消息(以下简称“消息”),由两部分组成:包含结构化元数据的头部,以及一个可选的、长度可变的消息体,用于承载任意数据。序列化后的头部由一行或多行文本组成,每行以回车换行符(`"\r\n"`)结尾。一个空行用于标识头部的结束。头部的第一行称为起始行,起始行的具体内容在请求和响应中有所不同。