[plug] [OT] http: different results from browser and telnet

Matt Kemner zombie at wasp.net.au
Thu Oct 25 16:08:38 WST 2001


On Thu, 25 Oct 2001, Jason Nicholls wrote:

> 	print "GET / HTTP/1.0\n"
> 	print "host: www.badlinks.com\n"
> 	print "\n\n"

You don't need the 3rd \n" after the host: header

In fact, it may even confuse some poorly written webservers.. :)

The 3rd line can be

        print "\n"

 - Matt



More information about the plug mailing list