http-messages-recap Flashcards

1
Q

What is a client?

A

A computer borrowing resources and information from a server

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

What is a server?

A

A computer that provides information and resources to 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

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

GET HTTP/1.1

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

HTTP/1.1 200 OK

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

What are HTTP headers?

A

Additional information provided in the form of request headers, general headers, and representation headers and appears after the start line, after it comes a blank space then the body

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

A body is not required for responses nor requests

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