adding proxy headers settings for proxy_manager

This commit is contained in:
chowmean 2019-03-16 00:20:12 +05:30
parent fcda6fe96b
commit 8c9494ecf9
2 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,8 @@ class Configuration(with_metaclass(TypeWithDefault, object)):
# Proxy URL
self.proxy = None
# Proxy Headers
self.proxy_headers = None
# Safe chars for path_param
self.safe_chars_for_path_param = ''

View File

@ -96,6 +96,7 @@ class RESTClientObject(object):
cert_file=configuration.cert_file,
key_file=configuration.key_file,
proxy_url=configuration.proxy,
proxy_headers=configuration.proxy_headers,
**addition_pool_args
)
else: