Lines Matching refs:response
334 response = xmlrpclib.dumps((5,), methodresponse=True)
335 response = response.encode()
337 self.send_header("Content-Length", len(response))
339 self.wfile.write(response)
744 exception caused by the 'temporarily unavailable' response sometimes
855 response = conn.getresponse()
857 self.assertEqual(response.status, 404)
858 self.assertEqual(response.reason, 'Not Found')
1149 #(for a request and the response)
1165 #custom transport, stores the response length for our perusal
1167 def parse_response(self, response):
1168 self.response_length=int(response.getheader("content-length", 0))
1169 return xmlrpclib.Transport.parse_response(self, response)
1397 # We should get error info in the response