HTTP MESSAGES Flashcards

1
Q

What is a client?

A

Typically a something that is requesting something 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 database that holds data that can be returned at the request of a 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 three things are on the start-line of an HTTP request message?

A

HTTP Method - describes

Request Target - usually URL

HTTP Version

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

A

protocol version

status code - fail / success ‘404’ , ‘202’, ‘302’

status text - text for humans to understand

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

What are HTTP headers?

A

HTTP headers let the client and the server pass additional information with an HTTP request or response. An HTTP header consists of its case-insensitive name followed by a colon (:), then by its value

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

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

A

No

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