-
Notifications
You must be signed in to change notification settings - Fork 124
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
rejectUnauthorized not work for me #531
Labels
bug
Something isn't working
Comments
能否提供一个可复现的代码? |
需要单独创建一个 httpClient 实例,不能使用全局的 const httpclient = new HttpClient({
connect: {
rejectUnauthorized: true,
},
}); |
我增加一个方式兼容一下 |
fengmk2
added a commit
that referenced
this issue
Dec 7, 2024
fengmk2
added a commit
that referenced
this issue
Dec 7, 2024
) closes #531 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Enhanced HTTP client configuration with options for handling HTTP/2 and unauthorized requests. - Introduced new tests for validating behavior with `rejectUnauthorized` set to false. - **Bug Fixes** - Improved error handling and address validation in HTTP client tests. - **Documentation** - Updated comments for clarity and consistency in the `HttpClient` class. - **Chores** - Updated dependency management for improved security and functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The usage version is as follows:
"name": "urllib",
"version": "3.18.1",
code
Still reporting errors :UNABLE_TO_VERIFY_LEAF_SIGNATURE
The text was updated successfully, but these errors were encountered: