983 |
def __getattr__(self, name): |
def __getattr__(self, name): |
984 |
return _Method(self.__send, "%s.%s" % (self.__name, name)) |
return _Method(self.__send, "%s.%s" % (self.__name, name)) |
985 |
def __call__(self, *args): |
def __call__(self, *args): |
986 |
return self.__send(self.__name, *args) |
return self.__send(self.__name, args) |
987 |
|
|
988 |
## |
## |
989 |
# Standard transport class for XML-RPC over HTTP. |
# Standard transport class for XML-RPC over HTTP. |
1028 |
if response.status != 200: |
if response.status != 200: |
1029 |
raise ProtocolError( |
raise ProtocolError( |
1030 |
host + handler, |
host + handler, |
1031 |
response.status, response.reason |
response.status, response.reason, {} |
1032 |
) |
) |
1033 |
|
|
1034 |
self.verbose = verbose |
self.verbose = verbose |