HTTP Flashcards

1
Q

What is a client?

A

A program that requests something from servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a server?

A

A program that fulfills requests from clients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which HTTP method does a browser issue to a web server when you visit a URL?

A

An HTTP GET Request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are HTTP headers?

A

They allow clients/servers to pass additional information from an HTTP request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is a body required for a valid HTTP request or response message?

A

No, it’s optional.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly