Skip to main content

Posts

Showing posts from February 1, 2014

HTTP Header (continued)

Headers HTTP headers are very important part of both request message and response message. They mainly specify the characteristics of the resource requested and the data that are provided. For example-a client may want to accept image files only in some specified format. Similarly, the server may provide additional information about the resource being sent such as the length of the message or the last modification date of the resource. Headers are separated by an empty line from the request and the message body. it consists of a single line or multiple lines. Each line is a single header of the following form: Header-name: Header-value The headers may be of two types: ·          HTTP Request header format- the request header consist of three parts:  General header, request header and entity header.  General Header  Request Header    Entity Header                                     ·          HTTP Response header format- the request header consist of t