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

Re: Decision about Host?

From: M. Hedlund <hedlund@best.com>
Date: Thu, 5 Oct 1995 16:46:06 -0700
Message-Id: <v02120d01ac9a1b4ade0c@[204.156.156.16]>
To: http WG <http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com>
At 3:09 PM 10/5/95, Jeffrey Mogul wrote:
>But then what does it
>mean if a client sends:
>
>        Host: www
>
>To me, this is an error, and the server can report it as such.
>What else could it possibly do?

Since the server will presumably still receive HTTP/1.0 requests without
Host headers, it will need to have a default document root to use in
response to these requests.  So it could:

        1. use a document tree relating to Host if Host exists; and
        2. use a default document tree if Host is not given or is ambiguous.

Sending a Bad Request error because Host is ambiguous seems too strict.
Probably neither the user nor the server maintainer will be able to do
anything about the ambiguity.  If server implementations were inconsistent
about returning this error, the result would be confusion and great
calamity.  Or the like.

M. Hedlund <hedlund@best.com>
D9 05 63 C1 49 06 2F EA  D7 0A 0E 94 6A C3 40 E9
Received on Thursday, 5 October 1995 16:48:26 EDT

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