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@xxxxxxx> 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@xxxxxxxxx