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

Re: Host request-header MUST accompany...

From: Daniel DuBois <ddubois@spyglass.com>
Date: Wed, 24 Apr 1996 16:02:37 -0500
Message-Id: <2.2.32.19960424210237.00b0ac2c@rafiki>
To: Dave Kristol <dmk@allegra.att.com>, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
At 04:33 PM 4/24/96 EDT, Dave Kristol wrote:
>Words to that effect appear in Sect. 8 and App.D.1.  They should say,
>instead, that either an absoluteURI or Host request-header must
>accompany all HTTP/1.1 requests.

For now it's probably safer to require that Host: appear on ALL 1.1
requests, regardless of whether or not the Request-URI includes the Host
information.  there's more assurance this way that some people won't screw
it up.

More importantly: consider what happens if ClientFoo does not send the
Host:, instead deciding to send absoluteURI, and ClientFoo is talking to a
proxy.  If that proxy is old, it will strip the host info out of the
Reqest-URI and pass it on.  Now our 1.1 origin server gets no Host: and no
absoluteURI.  Sure - we could make special case language saying "You have to
send Host:, unless you are talking to a 1.1 server you dont have to, but you
do have to if your talking to a proxy."  What was it JG was saying?:
"Protocols can only stand so many special purpose hacks."

As such, I think we have good reason, and rough consensus, for Host: header
to be mandatory on all 1.1 requests.  Which is why the issue was closed, and
the language exists in the spec.

-----
the Programmer formerly known as Dan          
                                     http://www.spyglass.com/~ddubois/
Received on Wednesday, 24 April 1996 14:08:55 EDT

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