Negotiating Client/Server Capabilities

The Header component in an HTTP message holds vital information related to the data contained in the message and the connection implemented between the client and the server. In addition, the Header component also contains information on certain capabilities of the client and the server. For example, information on the data formats supported by the client is contained in the Accept header field. The client and the server must reach an agreement on the data being transferred, the method of transferring data that is supplied in the connection information, and the validity of the data being transferred. Therefore, a process of negotiation between the client and the server is conducted before exchange of requests ...

Get Special Edition Using TCP/IP, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.