HTTP Versions Flashcards
Called the one-line protocol because requests consisted on only one line.
HTTP/0.9
The only method in HTTP/0.9
GET
These are the only files that existed on the web to be sent over HTTP as there was no content type to indicate MIME Type
HTML Files
HTPP response messages on HTTP/0.9 contained only the ___________
document requested.
Response messages didn’t have status codes or reason phrases.
HTTP/0.9
In case of an error in HTTP/0.9, a ___________ would be sent with a description of the error.
a specific HTML file
Features were introduced over 1991-1995 experimentally. Interoperability problems were common.
HTTP/1.0
Response messages were now prefixed with a STATUS LINE and HEADERS were added to request and response messages.
HTTP/1.0
With the addition of headers, the following became possible: (3)
Content negotiation
Authorization
Caching
In HTTP/1.0, request and response message were _____________ but the response payload could be any other content type.
ASCII-encoded
The first specification of HTTP/1.1 was published in early ____.
1997
Now known as the standardized protocol.
HTTP/1.1
3 new features introduced in HTTP/1.1.
Connection reuse
Pipelining
Chunked responses
also added content negotiations options (language, encoding, type)
Meant that the TCP connection could be kept alive for further requests, saving time it took to load all resources in the web page.
Connection reuse
Allowed the client to send a second request before a response was received for the first request.
Pipelining
Large responses could be split up over several messages.
Chunked responses
HTTP/2.0 was offiicialy standardized on _______.
May 2015
HTTP/2.0 is currently used by _______ of websites.
50.2%
The primary focus of HTTP/2.0.
Improving transport performance
Improving transport performance was achieved by focusing on:
reducing latency
increasing throughput
In HTTP/2.0, requests and response can’t be manually created/read anymore.
Binary Protocol
Advantages of binary protocols:
More efficient to parse
Messages take up less space
Less error-prone
In HTTP/2.0, multiple requests and responses can be in flight at the same time.
Multiplexing
In HTTP/2.0, headers are __________ to remove duplication and save overhead on data transfer.
Compressed
Allow servers to populate data in a client cache, in advance of the data being required.
Server Push
HTTP/3.0 is currently in the works and a draft has been released in __________.
January 2021