remove ref to SO (#6209)

This commit is contained in:
wing328
2017-07-29 18:53:08 +08:00
committed by GitHub
parent d412bcfd6c
commit 443b0f142b
128 changed files with 2064 additions and 2480 deletions

View File

@@ -114,7 +114,7 @@ class FakeClassnameTags123Api(object):
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
auth_settings = ['api_key_query']
return self.api_client.call_api('/fake_classname_test', 'PATCH',
path_params,

View File

@@ -204,6 +204,13 @@ class Configuration(object):
'key': 'api_key',
'value': self.get_api_key_with_prefix('api_key')
},
'api_key_query':
{
'type': 'api_key',
'in': 'query',
'key': 'api_key_query',
'value': self.get_api_key_with_prefix('api_key_query')
},
'http_basic_test':
{
'type': 'basic',

View File

@@ -61,8 +61,7 @@ class RESTClientObject(object):
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680
# maxsize is the number of requests to host that are allowed in parallel
# ca_certs vs cert_file vs key_file
# http://stackoverflow.com/a/23957365/2985775
# Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html
# cert_reqs
if configuration.verify_ssl: