Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Entity header

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

An entity header is an HTTP header describing the content of the body of the message. Entity headers are used in both, HTTP requests and responses. Headers like Content-Length, Content-Language, Content-Encoding are entity headers.

Even if entity headers are neither request nor response headers, they are often included with these terms.

In the following example, Content-Length is an entity header, while Host and User-Agent are request headers:

POST /myform.html HTTP/1.1
Host: developer.mozilla.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0
Content-Length: 128

Learn more

Technical knowledge

文档标签和贡献者

 此页面的贡献者: fscholz, teoli
 最后编辑者: fscholz,