HTTP Flashcards
What is a client?
service requesters (aka users with PC, phone, tablet, etc)
What is a server?
piece of hardware that provides functionality or services for 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 (GET, PUT, POST, etc) Request target (usually a URL) HTTP version
What three things are on the start-line of an HTTP response message?
HTTP version
status code
status text
What are HTTP headers?
let client and server pass additional info with an HTTP request/response
Header is a case-insensitive name followed by colon then 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