http Flashcards

1
Q

what is a 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

ex. phone, laptop, desktop

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

what is a server?

A

piece of computer hardware or software(computer program) that provides functionality for other programs or devices, called “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 three things are on the start-line of an HTTP request message?

A

HTTP method
Request Target
HTTP version

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

what three things are on the start-line of an HTTP response message?

A

protocol version
status code
status text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
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-insensitve name followed by a colon, then by its value

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

where would you go if you wanted to learn more about a specific HTTP header?

A

MDN

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

A

no, not all HTTP requests/responses have a body

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