Why won't this POST

Carsten Gaebler clpy at snakefarm.org
Tue Apr 23 11:45:33 EDT 2002


Sunit Joshi wrote:
> 
> Carsten Gaebler <clpy at snakefarm.org> wrote in message news:<3CC528C8.FDE414CE at snakefarm.org>...

> > "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.

Nope, HTTP() does not establish a connection. It just initializes some
internal variables (hostname and port). The connection is made within
putrequest(), which is what you see in your traceback.

cg.
-- 
Python is taken from python site. What to do? What is that?
                            -- scenes from comp.lang.python



More information about the Python-list mailing list