http-messages-recap Flashcards
1
Q
What is a client?
A
Client is the initiator for communication to the server. They request for service
2
Q
What is a server?
A
Server provides the service that has been requested by the client
3
Q
Which HTTP method does a browser issue to a web server when you visit a URL?
A
get
4
Q
What is on the first line of an HTTP request message?
A
start-line: the http method, url/target, and the version of HTTP
5
Q
What is on the first line of an HTTP response message?
A
start-line: version of the http, status code and its message
6
Q
What are HTTP headers?
A
gives more information about the response or requests
7
Q
Is a body required for a valid HTTP message?
A
no