http-messages-recap-Q&A Flashcards
What is a client?
Makes requests
What is a server?
Handles requests from the client
Which HTTP method does a browser issue to a web server when you visit a URL?
HTTP request GET
What is on the first line of an HTTP request message?
The protocol version, usually HTTP/1.1 . A status code, indicating success or failure of the request.
What is on the first line of an HTTP response message?
The status line is the first line in the response message. It consists of three items: The HTTP version number, status code, and the status text
What are HTTP headers?
let the client and the server pass additional information with an HTTP request or response (Meta information)
Is a body required for a valid HTTP message?
All 1xx (informational), 204 (no content), and 304 (not modified) responses MUST NOT include a message-body. All other responses do include a message-body, although it MAY be of zero length.