close_request_session
FunctionPrivateSource
close_request_session(sess: urllib3.BaseHTTPResponse)
A callback for the finializer, this function would be used for cleaning the requests session, if the connection does not need to exist.
Arguments
Requires
Argument | Type | Required | |
---|---|---|---|
sess | urllib3.BaseHTTPResponse | The http session (request) to be closed. |