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

如何带上客户端证书进行请求 #29

Open
a2504028411 opened this issue Jan 30, 2024 · 1 comment
Open

如何带上客户端证书进行请求 #29

a2504028411 opened this issue Jan 30, 2024 · 1 comment

Comments

@a2504028411
Copy link

requests代码
resp = requests.post(api_url, data=param_body, headers=headers, proxies=self._proxies,
cookies=self.api_cookies,
cert=(self.api_client_crt_path, self.api_client_key_path),
verify=False)
pyhttpx如何实现,看了一圈源代码没找到证书相关的参数

@zero3301
Copy link
Owner

zero3301 commented Jan 31, 2024 via email

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