I reread the RFC again. I found out that Host: can be omitted in HTTP
1.1 if you use an AbsoluteURI. Interestingly Apache does not follow
the specification. I tested it on Apache 1.3.x and 2. Thttpd works ok
with AbsoluteURI.

The specification also mentions "The absoluteURI form is REQUIRED when
the request is being made to a proxy."  In your case it is possible
that the third party was previously using a proxy.

   Ed   <blog.eonsec.com>

On 12/24/07, Eduardo Tongson <[EMAIL PROTECTED]> wrote:
> On 12/24/07, John Peter Loh <[EMAIL PROTECTED]> wrote:
> > I had problems with installing wireshark. I got all the headers with
> > mod_dumpio for Apache (what I'll get is almost the same, right?).
> >
> > The only reason I'm not sure if the Host header wasn't sent is that we
> > don't have all the headers sent went everything was fine.
>
> Yes mod_dumpio is adequate. Per the HTTP RFC the Host header is
> required for HTTP 1.1. If the third party is really using HTTP 1.1
> from the start there should not be any problem.
>
> Obviously it is their fault because they said the Host header was not
> present before. Tell them that it is unlikely for Apache to talk HTTP
> 1.1 without them sending the Host header.
>
>    Ed   <blog.eonsec.com>
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to