root/trunk/doc/http-versions.txt @ 617

Revision 617, 1.2 kB (checked in by bradfitz, 3 years ago)

-- supported for "Transfer-Encoding: chunked" requests (HTTP/1.1 feature)

as well as the "Expect: 100-continue", which generally accompany
chunked requests. requires "buffered_uploads" be enabled. see
doc/http-versions.txt for details.

Line 
1Perlbal for the most part only speaks HTTP/1.0 both to clients and to
2backend webservers.  It happily takes requests advertising HTTP/1.1
3and downgrading them to HTTP/1.0 when speaking to backend serves.
4
5It knows all about persistent connections (in both 1.0 and 1.1) and
6will reply with HTTP/1.0 Connection: keep-alive the request was only
7implicitly keep-alive with HTTP/1.1.  etc, etc.
8
9Perlbal is now also starting to speak more of 1.1.  For instance,
10Perlbal does support receiving transfer-encoding "chunked" requests
11from clients (a feature of HTTP/1.1), will send a "100 Continue" in
12response to "Expect: 100-continue", and will parse the chunked
13requests, writing the request-of-unknown-length to disk (only if
14buffered_uploads is enabled), and then will send an HTTP/1.0 request
15to the backends, with the actual Content-Length (now known) filled in.
16
17When more of 1.1 is supported, it will become an option, and later
18become the default.  However, after several years of usage, there just
19hasn't been that much of a reason.  The chunked requests (common from
20mobile phones uploading large images) has been the most annoying
21shortcoming but now that it's solved, it's questionable whether or not
22more of HTTP/1.1 will be supported.
23
Note: See TracBrowser for help on using the browser.