HTTP MESSAGES Flashcards
What is a client?
Typically a something that is requesting something from a server
What is a server?
A database that holds data that can be returned at the request of a client
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 - describes
Request Target - usually URL
HTTP Version
What three things are on the start-line of an HTTP response message?
protocol version
status code - fail / success ‘404’ , ‘202’, ‘302’
status text - text for humans to understand
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-insensitive name followed by a colon (:), then by its value
Is a body required for a valid HTTP request or response message?
No