----- Original Message -----
From: "Graham Leggett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 10, 2001 11:01 AM
Subject: Re: RFC2616


> Yulya Blyakh wrote:
>
> > telnet www.ukrbiz.net 80
> > ......
> > GET / HTTP/1.0
> >
> > HTTP/1.1 400 Bad Request
>
> > In response, I get 400 error, and it seems that APACHE doesn't know how
to
> > process my inquiry.
>
> Apache is giving you the correct response to this request.

yes, right you are

>
> > GET / HTTP/1.0
> > Host: www.ukrbiz.net
>
> I am not entirely sure what your question is though.
>
> GET / HTTP/1.0 on it's own violates RFC2616, and the 400 Bad Request you
> are getting is the correct response.
>
> GET / HTTP/1.0
> Host: www.ukrbiz.net
>
> is the correct way to do it - a missing Host header will cause an error.

yes, i see it, but for example inquiry to www.yahoo.com such way as GET /
HTTP/1.0
without ranging of Host name give me right HEADER and start page.
And i whant to get it from my server.

What should i do in it?

Regards,
Yulya Blyakh


Reply via email to