HTTP Content-Type header

E242831

The HTTP Content-Type header is a response header that tells clients the media type and character encoding of the returned content so they can interpret it correctly.

All labels observed (3)

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf HTTP header field
request header field
response header field
category representation metadata header
definedIn RFC 7231
RFC 9110
determines how the client processes the response body
how the client renders or handles content
exampleValue application/json
image/png
text/html; charset=UTF-8
text/plain; charset=utf-8
governs parsing of text-based formats
selection of appropriate application handler
hasAbbreviation Content-Type
hasComponent media type
optional charset parameter
hasDefaultBehavior may be inferred by user agents when missing
hasParameter boundary
charset
media type specific parameters
hasPurpose to indicate the character encoding of the message body
to indicate the media type of the message body
hasSyntax Content-Type: type/subtype[; parameter=value]
headerName Content-Type
interpretedBy HTTP clients
HTTP user agents
web browsers
mayBeOverriddenBy Content-Disposition header in some download scenarios
partOf HTTP
surface form: Hypertext Transfer Protocol
relatedConcept content negotiation
relatedHeader Accept header
Content-Encoding header
Content-Language header
Content-Length header
relatesTo MIME
MIME type
securityConsideration incorrect value can cause content sniffing vulnerabilities
should match actual media type of content
usedFor indicating CSS stylesheets
indicating HTML documents
indicating JSON API responses
indicating audio formats
indicating image formats
indicating video formats
usedIn HTTP request
HTTP response
usesRegistry IANA media type registry
surface form: IANA media types registry

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

MIME Sniffing Standard relatedTo HTTP Content-Type header
RFC 2068 definesHeaderField HTTP Content-Type header
this entity surface form: Content-Type
IANA media type registry relatedTo HTTP Content-Type header
this entity surface form: Content-Type HTTP header