HTTP Versions Flashcards

1
Q

This version of HTTP is called the “one-line protocol” because requests consisted of only one line. Here GET was the only method. no headers were found in requests or responses

A

HTTP/0.9

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

True or false?

in HTTP/0,9 only HTML files existed on the web to sent over HTTP. There was no Content-Type header to indicate MIME Type. Instead, HTTP response messages contained only the document requested.

A

True

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

True or false, response messaged have status codes or reason phrases on HTML 0.9

A

False

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

What would happen if there is an error in HTTP/0.9

A

An HTML file would be sent with a description of the error.

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

When was HTTP 1.0 features introduced?

A

1991-1995

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

In this version, response messages were now prefixed with a status line. Headers were added to request and response messages.

A

HTTP/1.0

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

How was request and responses message encoded in HTTP/1.0?

A

ASCII-encoded

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

True or False?

In HTTP/1.0 HTTP no longer only transferred hypertext. It could transfer other media types (using Content-Type headers)

A

True

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

When was the first specification of HTTP /1.1 published?

A

Early 1997

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

HTTP/1.1 is now known as the?

A

Standardized Protocol

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

What were the 3 new features introduced in HTTP/1.1?

A

Connection reuse
Pipelining
Chunked Responses

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

What does connection reuse mean

A

TCP connection could be kept alive for further request, saving time it took to load all resource in the web page. It uses connection header.

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

What did pipelining allowed?

A

It allowed the clients to send a second request before a response was received for the first request

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

What does chunked responses do?

A

Large responses could be split up over several messages.

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

What did client negotiation offered?

A

Clients and server could negotiate and agree on the language, encoding, and type of the data they exchanged.

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

When was HTTP/2.0 officially standardized?

17
Q

How much percent of websites uses HTTP/2?

18
Q

What did HTTP/2 improve?

A

it improved the transport performance

19
Q

How did HTTP/2 improve transport performance?

A
  1. Reducing latency
  2. increasing throughput
20
Q

When we say binary protocol in HTTP/2, what does it mean?

A

It means that request and responses can’t be manually created/read anymore. Meaning that it’s more efficient to parse, messages take up less space, and there is less error-prone.

21
Q

In HTTP/2 what does multiplexing do?

A

Multiple requests and responses can be in flight at the same time. It improved pipelining, allowing response messages to. be sent back in any order.

22
Q

True or false, in HTTP/2 headers are compressed to remove duplication and save overhead on data transfer.

23
Q

What does server push do?

A

It allows server to populate data in a client cache in advance of the data being required.

24
Q

When was the first draft of HTTP/3.0 released?

A

January 2021