OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
def | is_fp_closed (obj) |
def | assert_header_parsing (headers) |
def | is_response_to_head (response) |
def pip._vendor.urllib3.util.response.assert_header_parsing | ( | headers | ) |
Asserts whether all headers have been successfully parsed. Extracts encountered errors from the result of parsing headers. Only works on Python 3. :param http.client.HTTPMessage headers: Headers to verify. :raises urllib3.exceptions.HeaderParsingError: If parsing errors are found.
def pip._vendor.urllib3.util.response.is_fp_closed | ( | obj | ) |
Checks whether a given file-like object is closed. :param obj: The file-like object to check.
def pip._vendor.urllib3.util.response.is_response_to_head | ( | response | ) |
Checks whether the request of a response has been a HEAD-request. Handles the quirks of AppEngine. :param http.client.HTTPResponse response: Response to check if the originating request used 'HEAD' as a method.