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

Document Tags and Contributors

 Contributors to this page: fscholz, teoli
 Last updated by: fscholz,