Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for PAC type proxy and ntlm authorization #139

Closed
Testetsun-happy opened this issue Oct 29, 2020 · 1 comment
Closed

Comments

@Testetsun-happy
Copy link

Currently sdk only support fixed IP proxy and username/pwd authorization.
however in some global etnerprise, use a dynamic PAC list as proxy setting.
so please add support for this scenario, thanks.

sample code:
from requests_ntlm3 import HttpNtlmAuth
from pypac import PACSession, get_pac

auth=HttpNtlmAuth("proxyUserName","proxyPassword")
pac = get_pac(url="http://pacserver.mycompany.com/config.pac")
s = PACSession(pac)
s.auth =auth
r = s.post(config["http://a.com/sample/,json =pload)

@l-iberty
Copy link
Contributor

请联系我们的架构师或提交工单,以便我们清楚您的具体使用场景后排期开发

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants