http-messages-recap Flashcards

1
Q

What is a client?

A

A piece of software that is asking a service from something (makes requests)

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

What is a server?

A

The provider of the services to clients; the software that answers the request

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

GET

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

What is on the first line of an HTTP request message?

A

HTTP methods, request target, HTTP version

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

What is on the first line of an HTTP response message?

A

Protocol version, status code, status text

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

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 message?

A

No

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