Re: [S.N.Brodie@ecs.soton.ac.uk: HTTP/1.1 Host request-header query]

On Fri, 19 Jan 1996, Daniel DuBois wrote:
> >Am I correct in my interpretation that if the user agent is sending the
> >request directly to the origin server, then this header is required;
> >when sending it not to the origin server, it can be omitted (presumably
> >since the complete URL is given in the Request-URI)?
> 
> If a request goes through a 1.0 proxy, the old proxy cannot be expected to
> create a Host: header that will eventually reach the origin server.
> Therefore I would expect that the Host: header would be just as necessary
> when making a request to a proxy.
> 
> Now that I've scrutinized this section of the spec, I'm actually quite
> surprised the spec doesn't coincide with what I just said.  Do I
> misunderstand something?

Hmm - the only discrepency I can see is maybe someone wants to run 
*virtual*proxies* for control reasons (proxy1.domain.com & 
proxy2.domain.com are one the same machine, so the Host: is either proxy1 
or proxy2) but I would consider having the header work through 1.0 
proxies to have a higher value.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/

Received on Friday, 19 January 1996 17:04:50 UTC