-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[python] Support proxy_ssl_context for the urllib3-based client #24539
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
Changes from all commits
478288f
2a30617
7eb0816
b0ed61c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,6 +106,8 @@ def __init__(self, configuration, pools_size=4, maxsize=None) -> None: | |
| **addition_pool_args | ||
| ) | ||
| else: | ||
| if configuration.proxy_ssl_context is not None: | ||
| addition_pool_args['proxy_ssl_context'] = configuration.proxy_ssl_context | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Clients resolved to supported urllib3 1.25.x fail when callers set this option, because that release does not implement Prompt for AI agents |
||
| self.pool_manager = urllib3.ProxyManager( | ||
| num_pools=pools_size, | ||
| maxsize=maxsize, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| python_dateutil >= 2.5.3 | ||
| setuptools >= 21.0.0 | ||
| urllib3 >= 1.25.3, < 3.0.0 | ||
| urllib3 >= 1.26.0, < 3.0.0 | ||
| pydantic >= 1.10.5, < 2 | ||
| aenum >= 3.1.11 |
Uh oh!
There was an error while loading. Please reload this page.