Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Entity header

Entity header

Warning:The current HTTP/1.1 specification no longer refers to entities, entity headers or entity-body. Some of the fields are now referred to asRepresentation header fields.

An entity header is anHTTP header that describes thecontent of an HTTP message (i.e., metadata about the message body). Entity headers include:Content-Length,Content-Language,Content-Encoding,Content-Type,Expires, etc. Entity headers may be present in both HTTP request and response messages.

In the following example,Content-Length is an entity header, whileHost andUser-Agent are requests headers:

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

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp