RE: Host header and URL

> 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 06:18:51 UTC