http Flashcards
what is a 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
ex. phone, laptop, desktop
what is a server?
piece of computer hardware or software(computer program) that provides functionality for other programs or devices, called “clients”
which HTTP method does a browser issue to a web server when you visit a URL?
GET
what three things are on the start-line of an HTTP request message?
HTTP method
Request Target
HTTP version
what three things are on the start-line of an HTTP response message?
protocol version
status code
status text
what are HTTP headers?
http headers let the client and the server pass additional information with an HTTP request or response
an HTTP header consists of its case-insensitve name followed by a colon, then by its value
where would you go if you wanted to learn more about a specific HTTP header?
MDN
is a body required for a valid HTTP request or response message?
no, not all HTTP requests/responses have a body