apache_beam.internal.http_client module¶
Utility functions used for creating a common Http client from httplib2.
For internal use only. No backwards compatibility guarantees.
-
apache_beam.internal.http_client.
proxy_info_from_environment_var
(proxy_env_var)[source]¶ Reads proxy info from the environment and converts to httplib2.ProxyInfo.
Parameters: proxy_env_var – environment variable string to read, http_proxy or https_proxy (in lower case). Example: http://myproxy.domain.com:8080 Returns: httplib2.ProxyInfo constructed from the environment string.