The client can send header fields to the server. Most are optional. Some commonly used request headers are shown in Request Header.
Table B–1 Common request headers
Request header |
Description |
---|---|
The file types the client can accept. |
|
Used if the client wants to authenticate itself with a server; information such as the username and password are included. |
|
The name and version of the client software. |
|
The URL of the document where the user clicked on the link. |
|
The Internet host and port number of the resource being requested. |