Re: [squid-users] HTTP/0.0?

From: George Herbert <george.herbert_at_gmail.com>
Date: Wed, 10 Jun 2009 20:20:42 -0700

The 400 code makes sense. The HTTP/0.0 in the log (vs 1.0) doesn't, to me...

-george

On Wed, Jun 10, 2009 at 6:30 PM, Chris Robertson<crobertson_at_gci.net> wrote:
> Tech W. wrote:
>>
>> Hello,
>>
>> I telnet to localhost's 80 port (squid-3.0.15 is running on this port),
>> and send a command "GET / HTTP/1.0" following with two "\n\n":
>>
>> # telnet localhost 80
>> GET / HTTP/1.0
>>
>>
>> Then I watched access.log, found this info:
>>
>> 127.0.0.1 - - [09/Jun/2009:12:36:46 +0800] "GET / HTTP/0.0" 400 1209
>> NONE:NONE
>>
>> (squid has set emulate_httpd_log on)
>>
>> I'm totally confused, why squid said it was "HTTP/0.0" and returned a 400
>> code?
>>
>
> The 400 code is due to the URL being invalid.  Try "GET http://google.com/
> HTTP/1.0" instead.
>
>> Thanks.
>
> Chris
>

-- 
-george william herbert
george.herbert_at_gmail.com
Received on Thu Jun 11 2009 - 03:20:45 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 11 2009 - 12:00:03 MDT