Lines Matching defs:request
7 may legally make another request or fetch the response for a particular
8 request. This diagram details these state transitions:
45 -- a second request may not be started until {response-headers-read}
46 -- a response [object] cannot be retrieved until {request-sent}
52 implies sophisticated clients may accelerate the request/response
708 # peek is allowed to return more than requested. Just request the
758 length in response to the FTP retrieval request. A
866 CONNECT request to the proxy server when the connection is established.
872 with the CONNECT request.
1012 """Add a line of output to the current request buffer.
1033 """Send the currently buffered request and clear the buffer.
1036 A message_body may be specified, to be appended to the request.
1088 """Send a request to the server.
1090 `method' specifies an HTTP request method, e.g. 'GET'.
1102 # in certain cases, we cannot issue another request on this connection.
1104 # 1) we are in the process of sending a request. (_CS_REQ_STARTED)
1105 # 2) a response to a previous request has signalled that it is going
1110 # if there is no prior response, then we can request at will.
1114 # will open a new one when a new request is made.
1116 # Note: if a prior response exists, then we *can* start a new request.
1118 # request, however, until that prior response is complete.
1133 request = '%s %s %s' % (method, url, self._http_vsn_str)
1135 self._output(self._encode_request(request))
1151 # header. If the request is going through a proxy,
1213 def _encode_request(self, request):
1215 return request.encode('ascii')
1243 """Send a request header line to the server.
1273 This method sends the request to the server. The optional message_body
1275 request.
1283 def request(self, method, url, body=None, headers={}, *,
1285 """Send a complete request to the server."""
1341 If a request has not been sent or if a previous response has
1358 # object since a new request requires that we open a whole new