HTTP headers
Content-Type HTTP Header Meaning
Content-Type identifies the media type of request or response content.
Meaning
The sender is telling the receiver how to interpret the body.
Where it appears
Requests with bodies and most responses include it.
What to check
Check the media type, charset, and whether server parsing matches the actual body format.
Example
Content-Type: application/json; charset=utf-8References
- Registry
- IANA HTTP Field Name Registry
- Guide
- MDN Content-Type