HTTP Request and HTTP Response
In HTTP Request, the first line is called as Request line. It consist of 3 Parts, They are
In HTTP Response, the first line is called as Status line. It consist of 3 Parts, They are
MIME Headers: MIME (Multi-Purpose Internet Mail Extensions) is an extension of the original Internet e-mail protocol that lets people use the protocol to exchange different kinds of data files on the Internet: audio, video, images, application programs, and other kinds.
The first digit of the Status-Code defines the class of response. The last two digits do not have any categorization role. There are 5 values for the first digit:
1xx: Informational Responses - Request received, continuing process
2xx: Success - The action
was successfully received,
understood, and accepted
3xx: Redirection - Further action
must be taken
in order to complete the request
4xx: Client Errors - The request contains bad syntax or cannot be fulfilled
5xx: Server Errors - The server failed to fulfil an apparently valid request.
No comments:
Post a Comment