Lines Matching refs:Transport
766 p("transport").close() #same as above, really.
786 class Transport(xmlrpclib.Transport):
787 #custom transport, stores the response length for our perusal
791 return xmlrpclib.Transport.parse_response(self, response)
797 return xmlrpclib.Transport.send_content(self, connection, body)
803 t = self.Transport()
805 p = xmlrpclib.ServerProxy(URL, transport=t)
814 t = self.Transport()
817 p = xmlrpclib.ServerProxy(URL, transport=t)
824 t = self.Transport()
825 p = xmlrpclib.ServerProxy(URL, transport=t)
870 t = xmlrpclib.Transport()
871 p = xmlrpclib.ServerProxy(self.url, transport=t)
872 self.assertEqual(p('transport'), t)
1047 class FakeTransport(xmlrpclib.Transport):
1048 """A Transport instance that records instead of sending a request.
1056 conn = xmlrpclib.Transport.make_connection(self, host)
1064 transport = transport_class()
1066 transport=transport)
1070 return transport.fake_socket.getvalue()
1077 xmlrpclib.Transport.send_user_agent(self, conn)
1087 xmlrpclib.Transport.send_host(self, conn, host)
1097 xmlrpclib.Transport.send_request(self, conn, url, body)
1108 xmlrpclib.Transport.send_content(self, conn, body)