summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2014-09-16 14:58:09 -0400
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2014-11-26 13:02:23 -0500
commit969bfba931f132199662851c6f309be67761c4f9 (patch)
tree2cb926b04b210af3d67c422983258d146ae1c1b9 /requirements.txt
parent5b9408fae17918a564588e615ff2f12fab3efcc0 (diff)
downloadoslo-vmware-969bfba931f132199662851c6f309be67761c4f9.tar.gz
Switch to use requests/urllib3 and enable cacert validation0.8.0
During Id: I422e6d4df4e392334c0ce47e6f5b017a8c95f61a we identified rw_handles needed to be updated to requests and that we needed to enable SSL certificate validation as well. This change consolidates the create connection methods into FileHandle class and ensures that additional headers and cacerts etc can be passed in for use during the file upload/download process. Note that the create write connection uses the httplib-equivalent support bundled in requests/urllib3 as requests does not support the pattern of exposing a file like object with multiple writes for the HTTP PUT operation, it only allows one to pass a completely built file or file like object with data already in memory. We need to be able to read buffers from somewhere else (glance) and do a http put with that incremental data. This usecase/pattern is not currently supported in requests. Change-Id: I8a09a3fdf26bcaa3f4bdfbcccd22afbffd05af7c
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index c019874..6939fd3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -21,3 +21,4 @@ PyYAML>=3.1.0
suds>=0.4
eventlet>=0.15.2
requests>=2.2.0,!=2.4.0
+urllib3>=1.7.1