Python-Requests close http connection
I think a more reliable way of closing a connection is to tell the sever explicitly to close it in a way compliant with HTTP specification: HTTP/1.1 defines the “close” connection option for the sender to signal that the connection will be closed after completion of the response. For example, Connection: close in either the … Read more