http-messages-recap Flashcards
What is a client?
a computer or software application that requests a service or resource from a server.
What is a server?
a computer or software application that provides a service or resource to one or more clients.
Which HTTP method does a browser issue to a web server when you visit a URL?
GET
What is on the first line of an HTTP request message?
the request line, consists of three elements: the method, the request URI, and the protocol version.
What is on the first line of an HTTP response message?
the status line, consists of three elements: the protocol version, the status code, and the reason phrase.
What are HTTP headers?
HTTP headers are name-value pairs that provide additional information about the request or response in an HTTP message.
Is a body required for a valid HTTP message?
No, a body is not required for a valid HTTP message.