March 2003
Intermediate to advanced
312 pages
7h 12m
English
Media types are used in HTTP headers such as the Accept request header and the Content-Type entity header. They are also used to relay information about the content of Internet mail messages (email).
The Content-Type entity header specifies the media type of the HTTP message content. For example, consider the following HTTP response:
HTTP/1.1 200 OK Content-Type: text/html Content-Length: 19 <p>This is HTML</p>
The content (<p>This is HTML</p>) is declared to be of media type text/html. This allows the Web client to properly identify and handle the resource. If the resource being requested is named index.html, it may seem that this declaration is unnecessary, because the file extension should indicate the file type. ...
Read now
Unlock full access