MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In HTTP request start line consist of
A
HTTP response method
B
HTTP request method
C
Request URL
D
HTTP version
E
Request URI
Explanation: 

Detailed explanation-1: -The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. The elements are separated by SP characters. No CR or LF is allowed except in the final CRLF sequence.

Detailed explanation-2: -The target of an HTTP request is called a “resource", whose nature isn’t defined further; it can be a document, a photo, or anything else. Each resource is identified by a Uniform Resource Identifier (URI) used throughout HTTP for identifying resources.

Detailed explanation-3: -The start line of an HTTP response, called the status line, contains the following information: The protocol version, usually HTTP/1.1 . A status code, indicating success or failure of the request. Common status codes are 200, 404, or 302. A status text.

Detailed explanation-4: -An HTTP request is made out of three components: request line, headers and message body.

Detailed explanation-5: -Request line The method is a one-word command that tells the server what it should do with the resource. For example, the server could be asked to send the resource to the client. The path component of the URL for the request.

There is 1 question to complete.