Search squid archive

Re: HTTP/0.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux