swiftlang / swift-sdk-generator

Generate Swift SDKs for cross-compilation
Apache License 2.0
182 stars 15 forks source link

SDK Generator cannot download files via an HTTP proxy #145

Open euanh opened 2 weeks ago

euanh commented 2 weeks ago

Some environments, such as on CI servers, only allow HTTP requests to the Internet via an HTTP proxy. SDK Generator does not currently support using a proxy, so it cannot work in these environments.

Proxy addresses are often configured through several well-known environment variables such as http_proxy, HTTPS_PROXY and so on. SDK Generator should use these variables if present, and also offer command line arguments to configure or ignore proxies.