diff options
Diffstat (limited to 'openstack/common/apiclient/client.py')
-rw-r--r-- | openstack/common/apiclient/client.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack/common/apiclient/client.py b/openstack/common/apiclient/client.py index 39595f9b..2ee580fe 100644 --- a/openstack/common/apiclient/client.py +++ b/openstack/common/apiclient/client.py @@ -123,6 +123,9 @@ class HTTPClient(object): "'%s'" % url, ] + if not kwargs.get('verify', self.verify): + string_parts.insert(1, '--insecure') + for element in kwargs['headers']: header = ("-H '%s: %s'" % self._safe_header(element, kwargs['headers'][element])) |