http-messages-recap Flashcards
1
Q
What is a client?
A
A computer borrowing resources and information from a server
2
Q
What is a server?
A
A computer that provides information and resources to clients
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
GET HTTP/1.1
5
Q
What is on the first line of an HTTP response message?
A
HTTP/1.1 200 OK
6
Q
What are HTTP headers?
A
Additional information provided in the form of request headers, general headers, and representation headers and appears after the start line, after it comes a blank space then the body
7
Q
Is a body required for a valid HTTP message?
A
A body is not required for responses nor requests