HTTP Flashcards
1
Q
What is a client?
A
A program that requests something from servers
2
Q
What is a server?
A
A program that fulfills requests from clients
3
Q
Which HTTP method does a browser issue to a web server when you visit a URL?
A
An HTTP GET Request
4
Q
What three things are on the start-line of an HTTP request message?
A
An HTTP method, a request target, and the HTTP Version
5
Q
What three things are on the start-line of an HTTP response message?
A
The protocol version, a status code indicating success or failure, and status text
6
Q
What are HTTP headers?
A
They allow clients/servers to pass additional information from an HTTP request.
7
Q
Is a body required for a valid HTTP request or response message?
A
No, it’s optional.