Re: [squid-users] HTTP/0.0?

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 10 Jun 2009 17:30:18 -0800

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
Received on Thu Jun 11 2009 - 01:30:38 MDT

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