3 ms·
You are right! https://github.com/psf/requests/blob/c65c780849563c891f35ffc98d3198b71011c012/src/requests/api.py#L58 https://github.com/psf/requests/blob/c65c78
by threeducks 1y ago
You are right! https://github.com/psf/requests/blob/c65c780849563c891f35ffc98d3198b71011c012/src/requests/api.py#L58 https://github.com/psf/requests/blob/c65c780849563c891f35ffc...
The post function calls request the request function which uses its own context manager that will call the close function of the connection object.