Re: [Zope-dev] XMLRPC client and Zope 2.6.0

2003-01-24 Thread Dieter Maurer
Gilles Lenfant wrote at 2003-1-24 17:24 +0100:
 > ...
 > >>> from xmlrpclib import Server
 > >>> s = Server('http://localhost')
Append "/" to your URL. I.e. use:
   s = Server('http://localhost/')
 > 
 > again.   Resource:  RPC2\nPOST
The "RC2" not found it an indication that you just specified
the server without a path.


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] XMLRPC client and Zope 2.6.0

2003-01-24 Thread Gilles Lenfant
- Original Message - 
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 6:20 PM
Subject: Re: [Zope-dev] XMLRPC client and Zope 2.6.0


> >>>>s = Server('http://localhost')
> 
> try:
> 
>  >>>s = Server('http://localhost/')
> 
> And read the xmlrpclib.py docs where it automatically appends RPC2 if 
> the url doesnt end in a slash.

Ooops !

Many thanks Andy !




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] XMLRPC client and Zope 2.6.0

2003-01-24 Thread Andy McKay
s = Server('http://localhost')

try:

>>>s = Server('http://localhost/')

And read the xmlrpclib.py docs where it automatically appends RPC2 if 
the url doesnt end in a slash.
--
  Andy McKay


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )