Is DigestAuthentication supported for proxy? Can you connect to HTTPS website this way? #2028
-
|
Does httpx support DigestAuthentication for proxies, and if so, can you connect to HTTPS websites through a proxy that requires DigestAuthentication? requests-toolbet has a Apparently that feature won't be implemented in the foreseeable future in requests. The only working implementation that I have found, and which allows you to connect to HTTPS websites through the proxy, is this one, which was provided in this StackOverflow post. Does httpx support this feature, or will it support it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
No - you're the first person to ask about digest authentication for proxies.
It's not currently on the roadmap, beyond this initial query. Out of interest - what's your motivation are? What proxy are you using, and why digest authentication? |
Beta Was this translation helpful? Give feedback.
-
To connect to a HTTPS website declared in the PAC file of the proxy using Python instead of the web browser
The proxy of my university
You have to ask the university why they chose DigestAuth instead of BasicAuth |
Beta Was this translation helpful? Give feedback.
-
Browser: Firefox 95.0.2, OS: Fedora Workstation 35
From Firefox you click on the hamburger menu -> Settings -> General tab -> Network settings -> Settings -> Automatic proxy configuration URL and you put the address of the PAC file there
The proxy itself is HTTP proxy |
Beta Was this translation helpful? Give feedback.
-
Where? Firefox asks me for username and password in a dialog when you connect to a website specified in the PAC file. For the StackOverflow module, you specify it when you create the class.
Because of the
The proxy will answer with 407 and a |
Beta Was this translation helpful? Give feedback.
No - you're the first person to ask about digest authentication for proxies.
It's not currently on the roadmap, beyond this initial query.
Out of interest - what's your motivation are? What proxy are you using, and why digest authentication?