http-messages-recap Flashcards
1
Q
What is a client?
A
A piece of software that is asking a service from something (makes requests)
2
Q
What is a server?
A
The provider of the services to clients; the software that answers the request
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
HTTP methods, request target, HTTP version
5
Q
What is on the first line of an HTTP response message?
A
Protocol version, status code, status text
6
Q
What are HTTP headers?
A
A field of an HTTP request or response that passes additional context and metadata about the request or response (additional info)
7
Q
Is a body required for a valid HTTP message?
A
No