HTTP Flashcards
What is a client?
a piece of computer software that accesses a service made available by a server
What is a server?
a piece of computer software (computer program) that provides functionality for other programs or devices, called “clients”
What three things are on the start-line of an HTTP response message?
protocol version, status code, status text
What are HTTP headers?
lets the client and the server pass additional information with an HTTP request or response;
case-insensitive name followed by a colon (:), then by its value
metadata about the message exchange
Is a body required for a valid HTTP request or response message?
no
Where would you go if you wanted to learn more about a specific HTTP Header?
MDN, IANA registry
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?
HTTP method, request target, HTTP version
What is on the first line of an HTTP response message?
protocol version, status code, status text