Name

Content-Type: type/subtype

Synopsis

Describes the media type and subtype of an entity-body. It uses the same values as the client’s Accept header, and the server should return media types that conform with the client’s preferred formats. For example:

Content-type: text/html

Get HTTP Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.