Content-Type in the HTTP Header
· β 5 min read
1. HTTP Header The HTTP protocol is an application-layer specification built on top of TCP/IP, transmitted as ASCII text. The HTTP specification divides an HTTP request into three parts: the status line, the request headers, and the message body. Something like this:
1 2 3 4 5 <method><request-URL><version> <headers> <entity-body> An HTTP header falls into four categories: general headers, request headers, response headers, and entity headers.