W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 2000

RE: Host header and URL

From: Scott Lawrence <lawrence@agranat.com>
Date: Thu, 26 Oct 2000 09:10:45 -0400
To: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>, <http-wg@hplb.hpl.hp.com>
Message-ID: <002101c03f4e$26956da0$1200150a@oyster.ma.virata.com>

> From: Joris Dobbelsteen

> Something I was wondering about, does HTTP/1.1 allow this:
>
> You send to a HTTP/1.1 proxy/gateway:
>
> GET http://www.you.com/ HTTP/1.1
> host: gateway.me.com
>
> were the intension is to get www.you.com through gateway.me.com
>
> gateway.me.com can be e.g. a caching proxy server or gateway...
>
> Is this actually possible HTTP/1.1-compliant???

No - the Host header value designates the origin server, not a
gateway; if you send a full URL in the request line, then the two
hosts should match.

--
Scott Lawrence         Architect             <lawrence@agranat.com>
Virata             http://www.virata.com/         http://emweb.com/

Received on Thursday, 26 October 2000 14:14:32 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:40 EDT