W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 2002

RE: handling Proxy-Connection

From: Matt Lynch <Matt@stimulussolutions.com.au>
Date: Mon, 31 Dec 2001 10:33:34 +1100
Message-ID: <D629160B44D8994399B7A9197F12481B0112C4@cascade.stimuluss.com.au>
To: "Marc Slemko" <marcs@znep.com>, "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
Cc: <http-wg@cuckoo.hpl.hp.com>
Here's my two cents worth... (from rfc2616)

Section 19.3 (Tolerant Applications) says:
"We therefore recommend that operational applications be tolerant of
deviations whenever those deviations can be interpreted unambiguously."

The Proxy-Connection header can be interpreted unambiguously.

Section 19.6 (Compatibility with Previous Versions) says:

"It is beyond the scope of a protocol specification to mandate
compliance with previous versions. HTTP/1.1 was deliberately
designed, however, to make supporting previous versions easy."

So don't implement the header on a HTTP/1.1 connection, but implement it
full for any client which sends it on HTTP/1.0 connection.  So, to truly
be compatible with previous versions, applications must support this


-----Original Message-----
From: Marc Slemko [mailto:marcs@znep.com]
Sent: Thursday, 27 December 2001 6:50 PM
To: Joris Dobbelsteen
Cc: Matt Lynch; WWW WG (E-mail)
Subject: RE: handling Proxy-Connection

On Fri, 21 Dec 2001, Joris Dobbelsteen wrote:

> This header is obsolete in HTTP/1.1 and SHOULD NOT be used in future
> implementations. The connection header will handle this in HTTP/1.1
> Proxy-Connection was designed for persistent connections in HTTP/1.0.
> in a completely different RFC (if documented), so look through the
> file. You should rely on this header only and only if you are using
> (and use a proxy).

Be that as it may, it is still necessary to explicitly deal with
this header if you are implementing a proxy.  Then you must strip
the Proxy-Connection header before forwarding the request, ie.  it
is a hop by hop header.

This is the case even if you don't want to explicitly support it
in your proxy to allow for persistent connections with 1.0 clients.
If you don't strip it, you will run into ugly issues when chaining
proxys if any proxy in the chain understands it.

I don't know if this requirement is documented in any spec, or if
it is just another of the "gotta know it" ones.
Received on Wednesday, 2 January 2002 12:11:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:16:38 UTC