Removed /RPC2 default setting -- this isn't part of the JSON-RPC spec.
authorcatchjosh <catchjosh@ae587032-bbab-11de-869a-473eb4776397>
Fri, 10 Sep 2010 07:14:38 +0000 (07:14 +0000)
committercatchjosh <catchjosh@ae587032-bbab-11de-869a-473eb4776397>
Fri, 10 Sep 2010 07:14:38 +0000 (07:14 +0000)
git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@20 ae587032-bbab-11de-869a-473eb4776397

jsonrpclib/jsonrpc.py

index f74cd42..dc20fd6 100644 (file)
@@ -151,7 +151,8 @@ class ServerProxy(XMLServerProxy):
         self.__host, self.__handler = urllib.splithost(uri)
         if not self.__handler:
             # Not sure if this is in the JSON spec?
-            self.__handler = '/RPC2'
+            #self.__handler = '/'
+            self.__handler == '/'
         if transport is None:
             if schema == 'https':
                 transport = SafeTransport()