HTTP Flashcards

1
Q

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

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

What are HTTP headers?

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

Where would you go if you wanted to learn more about a specific HTTP Header?

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

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

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

What is a client?

A

a client is 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.

computer hardware or software device that requests access to a service provided by a server.

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

What is a server?

A

a computer program or device that provides a service to another computer program and its user, also known as the client.

A server is a computer or system that provides resources, data, services, or programs to other computers, known as clients, over a network.

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

Which HTTP method does a browser issue to a web server when you visit a URL?

A

GET is used to retrieve and request data from a specified resource in a server.

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

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

A

Start Line
an HTTP method like GET or POST
Request target - usually a url
The HTTP version which describes the structure of remaining message.

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

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

A

Status line
Protocol version usually HTTP/1.1
Status code - like 200
Status text - brief description of status code.

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

What are HTTP headers?

A

HTTP headers are the code/ strings that transfers data between a Web server and a client.

http headers are a list of strings or string sent and received by both the client program and server on every HTTP request and response.

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

Is a body required for a valid HTTP message?

A

No requests fetching resources like GET, HEAD, DELETE, or OPTIONS usually dont need one.

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

difference between internet vs web

A

internet is what all computers are connected to

web is links between web documents

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