W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 1998

Re: Response Version - Clarification

From: Roy T. Fielding <fielding@kiwi.ics.uci.edu>
Date: Fri, 18 Sep 1998 16:51:28 -0700
To: Chris DiPierro <cdipierr@us.ibm.com>
Cc: http-wg@hplb.hpl.hp.com
Message-Id: <9809181651.aa22424@paris.ics.uci.edu>
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/41
>Let's say I had the following:
>1.0 Client -> 1.1 Proxy -> 1.0 Server
>From the spec, the proxy MUST upgrade the 1.0 request to 1.1 and send that on
>to the server. The server of course responds with a 1.0 response. The proxy can
>then chose what response version to send to the client as long as it doesn't
>break the client (chunked data or something else like that).
>However, the spec also says that proxies should keep track of the HTTP version
>of all servers for various reasons. This is fine, but consider the following:
>1.0 Client -> 1.1 Proxy #1 -> 1.1 Proxy #2 -> 1.0 Server
>Proxy #2 of course can know the true version of the server, but there's no way
>for Proxy #1 to know the real version of the server if Proxy #2 decides to
>upgrade the 1.0 response to 1.1.

The "should remember" only talks about the server they connect to,
not the entire request path (all proxies are also servers).  Thus,
it is only a performance advantage for Proxy #1 to remember the
HTTP-version of Proxy #2.

In any case, Proxy #1 can determine the HTTP-version of the entire response
path by looking at the Via header field.

Received on Friday, 18 September 1998 16:58:42 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:05 UTC