Why won't this POST

Carsten Gaebler clpy at snakefarm.org
Tue Apr 23 05:26:32 EDT 2002


Sunit Joshi wrote:

> I'm trying to post data to IIS5.0 but keep getting error message about
> "host not found".

> # begin HTTP request
> req = HTTP('localhost/eubix')
> #req.putrequest("GET" ,'/PyCgi/formTest.py?' + postData)
> req.putrequest('POST' ,'/cgi-bin/ProcessInput.py') #Here's where it

"localhost/eubix" is not a valid hostname. What's the "/eubix" part
supposed to mean?

cg.
-- 
Why settle for snake oil if you can have the whole snake?
http://python.org/



More information about the Python-list mailing list