swagger-api/swagger-codegen

is there an option to specify proxy in the request api?

Open

#6120 aperta il 19 lug 2017

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: PythonEnhancement: FeatureGeneral: Questionhelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

I'm looking for a way to specify proxy server address in the request api thru the api_client. for example i use below option to call the request api.

requests.get(url,headers=headers,proxies='proxy-wsa.esl.cico.com:80')

is there a similar option in the api_client to add this ?

Swagger-codegen version

2.2.2

-l python.

Steps to reproduce

happens when you'r host is behind a proxy server and you need to pass on the proxy server address

Guida contributor