httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: RFC2616
Date Fri, 10 Aug 2001 08:01:46 GMT
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.

> 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.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message