-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
C-refactorCategory: refactor. This would improve the clarity of internal code.Category: refactor. This would improve the clarity of internal code.E-easyEffort: Easy! Start here :DEffort: Easy! Start here :DE-pr-welcomeThe feature is welcome to be added, instruction should be found in the issue.The feature is welcome to be added, instruction should be found in the issue.
Description
Standardizes TLS-related fields to follow the tls_* naming convention,
aligning with common practice and improving field discoverability.
wreq-python/python/wreq/wreq.py
Lines 676 to 717 in 5cab623
| # ======== TLS options ======== | |
| verify: NotRequired[bool | Path | CertStore] | |
| """ | |
| Sets whether to verify TLS certificates. | |
| """ | |
| verify_hostname: NotRequired[bool] | |
| """ | |
| Configures the use of hostname verification when connecting. | |
| """ | |
| identity: NotRequired[Identity] | |
| """ | |
| Represents a private key and X509 cert as a client certificate. | |
| """ | |
| keylog: NotRequired[KeyLog] | |
| """ | |
| Key logging policy (environment or file). | |
| """ | |
| tls_info: NotRequired[bool] | |
| """ | |
| Add TLS information as `TlsInfo` extension to responses. | |
| """ | |
| min_tls_version: NotRequired[TlsVersion] | |
| """ | |
| Minimum TLS version. | |
| """ | |
| max_tls_version: NotRequired[TlsVersion] | |
| """ | |
| Maximum TLS version. | |
| """ | |
| tls_options: NotRequired[TlsOptions] | |
| """ | |
| Sets the TLS options. | |
| """ | |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-refactorCategory: refactor. This would improve the clarity of internal code.Category: refactor. This would improve the clarity of internal code.E-easyEffort: Easy! Start here :DEffort: Easy! Start here :DE-pr-welcomeThe feature is welcome to be added, instruction should be found in the issue.The feature is welcome to be added, instruction should be found in the issue.