Computer Networks » Http
Find the oddly matched HTTP status codes

A. 200 ok
B. 400 bad request
C. 301 moved permanently
D. 304 not found

Explanation: 404 Not Found.

The conditional GET mechanism

A. Imposes conditions on the objects to be requested
B. Limits the number of response from a server
C. Helps to keep a cache upto date
D. None of the mentioned

Explanation: The HTTP protocol requests the server of the website its trying to access so that it can store its files, images etc. in cache memory. This request of asking the server for a document considering a specific parameter is called conditional GET Request.

Which of the following is present in both an HTTP request line and a status line?

A. HTTP version number
B. Url
C. Method
D. None of the mentioned

Explanation: Status line is the the start line of an HTTP response. It contains the information such as the protocol version, a status text, status code.