http Flashcards

1
Q

What does a GET request do?

A

A get request indicates that a resource should be fetched

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

What does a POST request do?

A

A POST request indicates that data is being pushed to the server.

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

What does a PUT request do?

A

A PUT is like a POST, but it indicates that data is going to be replaced.

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

What are HTTP headers?

A

HTTP headers contain metadata about the client or server.

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

What is the Body of an HTTP request?

A

The body of an HTTP request contains content form a page.

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

Do all HTTP requests contain bodies?

A

No.

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

What is the first part of a HTTP response?

A

The start line, known as the head.

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

What is the payload of a HTTP request called?

A

The body.

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

What is the difference beetween http1 and http2 frames?

A

Headers in http1 are uncompressed, no multiplexing.

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

What is a client?

A

A client is a computer that consumes content.

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

What is a server?

A

A server is a computer that serves content

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

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

A

The protocal version, a status code, and a status text.

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