Why won't this POST

Sunit Joshi sjoshi at ingr.com
Tue Apr 23 09:02:56 EDT 2002


Carsten Gaebler <clpy at snakefarm.org> wrote in message news:<3CC528C8.FDE414CE at snakefarm.org>...
> 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.

Actually localhost/eubix is the virtual directory in IIS5.0. I can
connect to localhost/eubix, thru. req = HTTP('localhost/eubix')
But after that everything fails.

Sunit
sjoshi at ingr.com



More information about the Python-list mailing list