http-messages-recap Flashcards

1
Q

What is a client?

A

Client is the initiator for communication to the server. They request for service

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

What is a server?

A

Server provides the service that has been requested by the client

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

start-line: the http method, url/target, and the version of HTTP

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

start-line: version of the http, status code and its message

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

What are HTTP headers?

A

gives more information about the response or requests

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