python-swiftclient/swiftclient
Alex Schultz 1f26c57369 Cleanup session on delete
If an external http connection was not passed into the client, we
create one with a requests.Session() on our own. Once this is used,
it may still have an open socket when the connection is closed. We need
to handle the closing of the requests.Session() ourselves if we created
one. If you do not close it, a ResourceWarning may be reported about the
socket that is left open.

Change-Id: I200ad0cdc8b7999c3f5521b9a822122bd18714bf
Closes-Bug: #1838775
2019-12-08 20:11:17 -06:00
..
__init__.py Use "# noqa" instead of "#flake8: noqa" 2016-02-09 23:09:24 +08:00
authv1.py Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
client.py Cleanup session on delete 2019-12-08 20:11:17 -06:00
command_helpers.py Add additional headers for HEAD/GET/DELETE requests. 2016-11-07 13:18:29 +08:00
exceptions.py Include response headers in ClientExceptions 2016-03-03 17:16:33 +00:00
multithreading.py Isolate docs requirements 2019-06-27 16:48:33 -07:00
service.py Delete/overwrite symlinks better 2019-08-01 20:42:31 -07:00
shell.py Merge "Optionally display listings in raw json" 2019-07-10 18:54:30 +00:00
utils.py Optionally display listings in raw json 2019-07-09 13:25:52 -07:00
version.py Fix some typos 2015-12-30 11:01:33 -08:00