mopidy.httpclient — HTTP Client helpers¶
- 
mopidy.httpclient.format_proxy(proxy_config, auth=True)[source]¶
- Convert a Mopidy proxy config to the commonly used proxy string format. - Outputs - scheme://host:port,- scheme://user:pass@host:portor- Nonedepending on the proxy config provided.- You can also opt out of getting the basic auth by setting - authto- False.- New in version 1.1.