W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2012

Re: Rechartering HTTPbis

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Wed, 25 Jan 2012 09:12:24 +0000
To: Willy Tarreau <w@1wt.eu>
cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <63914.1327482744@critter.freebsd.dk>
In message <20120125064534.GE32580@1wt.eu>, Willy Tarreau writes:

>That said, there are a number of other issues in HTTP/1.1 that we could get
>rid of when switching to a new protocol :
>  - get rid of the Host header and only use absolute URIs


>  - get rid of content-length and only use transfer-coding (and get rid of
>    3 pages in the spec which explain how to determine a message's length)

Actually your remaining three ideas can be combined into one idea:

   - Clearly split transport metadata from content metadata, for instance
     by putting a blank line between them.

That removes the need for a Connection header to say which transport
metadata to strip.

I would add a new header that tells how many seconds the connection
can be idle before it is closed.  A value of zero has same semantics
as "Connection: close" has today.

That split also avoids the need to even parse the content metadata
for purposes of transport.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Wednesday, 25 January 2012 09:12:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:00 UTC