Skip to main content

Posts

Showing posts with the label HTTP

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

fundamental of HTTP

HTTP ( Hypertext  Transfer Protocol) FUNDAMENTAL OF HTTP:- Hypertext Transfer protocol is a request response protocol. It is an application layer in TCP/IP protocol suite. It was originally developed to transfer files and data in distributed, collaborative, hypermedia information system. According to this protocol a process is run which create and store the resources like HTML image, files etc. On request this process provides these resources and is called web server. A web server waits for request and response when required. - Its main purpose is to transfer web pages from one computer (web server) to another computer (client server). - It is useful to transfer web pages containing links in an environment where there are rapid jumps among such  hyperlink  web pages. - It allows us to transfer a wide variety of data such as text, image, audio, video or even the result of a query. - It is used to access virtually all types of resources on web. WORKING OF HTTP ·