HTTP Flashcards

1
Q

What is client?

A

a piece of computer hardware or software that accesses a service made available by a server as part of the client-server model of computer networks.

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

What is server?

A

a computer program or device that provides a service to another computer program and its user, also known as 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 method

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

An HTTP method, a verb (like GET, PUT or POST) or a noun (like HEAD or OPTIONS), that describes the action to be performed. target,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

The protocol version, usually HTTP/1.1. status, status text

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

What are HTTP headers?

A

An HTTP header consists of its case-insensitive name followed by a colon (:), then by its value. Whitespace before the value is ignored.

Request header, Response headers, Representation headers, Payload headers.

key value pairs, meta information about response.

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