HTTP Flashcards
What is client?
a piece of computer hardware or software that accesses a service made available by a server as part of the client-server model of computer networks.
What is server?
a computer program or device that provides a service to another computer program and its user, also known as the client.
Which HTTP method does a browser issue to a web server when you visit a URL?
GET method
What is on the first line of an HTTP request message?
An HTTP method, a verb (like GET, PUT or POST) or a noun (like HEAD or OPTIONS), that describes the action to be performed. target,version
What is on the first line of an HTTP response message?
The protocol version, usually HTTP/1.1. status, status text
What are HTTP headers?
An HTTP header consists of its case-insensitive name followed by a colon (:), then by its value. Whitespace before the value is ignored.
Request header, Response headers, Representation headers, Payload headers.
key value pairs, meta information about response.
Is a body required for a valid HTTP message?
No