HttpServer help!

Emile van Sebille emile at fenx.com
Thu Jun 6 09:12:01 EDT 2002


Eric Texier
[snip]
> req.putrequest("POST",
>
"file:/usr/people/erict/python/srcToolskit/pythonXmlBook/c8/favquote.cgi
")
>
> .
> .
> .
>
> ##### That the Error after the ruprequest->"#####
> Traceback (most recent call last):
>   File "post.py", line 25, in ?
>     req.putrequest("POST",
>
"file:/usr/people/erict/python/srcToolskit/pythonXmlBook/c8/favquote.cgi
")
>
>   File "/usr/people/erict/bin//lib/python2.2/httplib.py", line 453, in
> putrequest
>     self.send(str)
>   File "/usr/people/erict/bin//lib/python2.2/httplib.py", line 395, in
> send
>     self.connect()
>   File "/usr/people/erict/bin//lib/python2.2/httplib.py", line 379, in
> connect
>     raise socket.error, msg
> socket.error: (111, 'Connection refused')
>


So, you've got 'Connection Refused' on req.putrequest() with a file...
Permissions isssues on the server or file?


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list