Lines Matching refs:request_body
1162 def request(self, host, handler, request_body, verbose=False): argument
1166 return self.single_request(host, handler, request_body, verbose)
1175 def single_request(self, host, handler, request_body, verbose=False): argument
1178 http_conn = self.send_request(host, handler, request_body, verbose)
1278 def send_request(self, host, handler, request_body, debug): argument
1291 self.send_content(connection, request_body)
1312 def send_content(self, connection, request_body): argument
1315 self.encode_threshold < len(request_body) and
1318 request_body = gzip_encode(request_body)
1320 connection.putheader("Content-Length", str(len(request_body)))
1321 connection.endheaders(request_body)