HTTPLIB - Problem retrieving a page
Oleg Broytmann
phd at phd.pp.ru
Mon Nov 26 09:29:48 EST 2001
On Mon, Nov 26, 2001 at 02:14:23PM +0000, Colin Meeks wrote:
> connect: (www.meeks.ca, 80)
> send: 'GET /index.htm HTTP/1.0\r\n'
> send: 'Accept: text/html\r\n'
> send: 'Accept: text/plain\r\n'
> send: '\r\n'
> reply: 'HTTP/1.1 404 Not Found\r\n'
You need Host: header:
Host: www.meeks.ca:80
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list