http-message-recap Flashcards
What is a client?
a client is a piece of computer hardware or software that accesses a service made available by a server
What is a server?
a server is a 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 request
What is on the first line of an HTTP request message?
the start-line which describes the request to be implemented via http method like GET or POST
What is on the first line of an HTTP response message?
the first line of a http response is the status line that describes the current status of a request and whether it was successful or a failure
What are HTTP headers?
HTTP headers let the client and the server pass additional information with an HTTP request or response. i.e content-type and content-length
Is a body required for a valid HTTP message?
no