HTTP Quiz Questions Flashcards

1
Q

What is a client?

A

Client is a program that requests data

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

What is a server?

A

Server is a program that provides data

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 request

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

What are the formats of HTTP Requests and Responses?

A

Start-line/Status-line
Header (optional)
Blank-line
body (optional)

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

A

start line

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

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

A

status line

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

What are HTTP headers?

A

a case-insensitive string followed by a colon and a value whose structure depends upon the header. Meta data about requests and responses. Also key-value pairs

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