The following reply was made to PR protocol/1454; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:  Subject: Re: protocol/1454: Apache doesn't always understand requests with 
the absoluteURI in them (fwd)
Date: Sat, 22 Nov 1997 14:08:33 -0800 (PST)

 ---------- Forwarded message ----------
 Date: Sat, 22 Nov 1997 22:24:36 +1100 (EST)
 From: Anand Kumria <[EMAIL PROTECTED]>
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: protocol/1454: Apache doesn't always understand requests with the 
absoluteURI in them
 
 On 22 Nov 1997 [EMAIL PROTECTED] wrote:
 
 > State-Changed-Why:
 > Apache 1.2 and later does fully support full URIs. However,
 > HTTP/1.1 also *requires* that if the Host: header is not
 > present, a 400 response be sent. Apache adheres to this.
 > 
 > Note that if you send Apache a full-URI request with a protocol
 > indication greater than HTTP/1.1, this requirement is waived.
 
 However this processing strategy is contrary to Section 5.2 which states:
 
 
      1. If Request-URI is an absoluteURI, the host is part of the
         Request-URI. Any Host header field value in the request MUST be
         ignored.
 
      2. If the Request-URI is not an absoluteURI, and the request
         includes a Host header field, the host is determined by the Host
         header field value.
 
      3. If the host as determined by rule 1 or 2 is not a valid host on
         the server, the response MUST be a 400 (Bad Request) error
         message.
 
 Essentially the canocial form of a request is
 
 <method> <aboluteURI> <version>
 
 however HTTP/1.1 server must ALSO understand:
 
 <method> <pathURI> <versioN>
 Host: <host>
 
 which can easily be canonicalised.
 
 Additionally you have not addressed the second half of my bug report -
 where I show that an absoluteURI AND a host header works.  The Host:
 header should have no impact, it is implied by the absolute URI.
 
 Anand.
 
 --
  `When any government, or any church for that matter, undertakes to say to
   its subjects, "This you may not read, this you must not see, this you are
   forbidden to know," the end result is tyranny and oppression no matter how
   holy the motives' -- Robert A Heinlein, "If this goes on --"
 
 

Reply via email to