How to specify multiple auth in Python's requests module?
<p>I want to access a BASIC auth protected website via a proxy which requires NTLM authentication. I am using Python's requests module to access the website. How can I specify multiple authentication for a request in requests module? i.e. I need to provide NTLM credentials for proxy authentication and BASIC credentials for the original website. I am using the following code:</p>

<pre><code>import requests
from requests_ntlm import HttpNtlmAuth
proxies = {'https': 'https://myproxy.com:8080', 'http': 'http://myproxy.com:8080'}
ntlm_auth = HttpNtlmAuth('ntlm_username','ntlm_secret')
# how to provide the credentials (BASIC auth) required by the actual website?
r = requests.get("https://myprotectedresource.com",auth=ntlm_auth, proxies=proxies) 
</code></pre>