Title: fixes issue with proxy usage by neok0 · Pull Request #110 · DomainTools/python_api · GitHub
Open Graph Title: fixes issue with proxy usage by neok0 · Pull Request #110 · DomainTools/python_api
X Title: fixes issue with proxy usage by neok0 · Pull Request #110 · DomainTools/python_api
Description: When using proxies support in the latest version an exception is thrown.
As httpx requires new format of proxies keys (see https://github.com/encode/httpx/blob/aad60a4f123801e7ce0e02bc49138e7f0f9ca0a5/httpx/_utils.py#L461)
File "/usr/local/lib/python3.8/dist-packages/domaintools/base_results.py", line 60, in _make_request
with Client(verify=self.api.verify_ssl, proxies=self.api.extra_request_params.get('proxies'), timeout=None) as session:
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 683, in __init__
self._mounts: typing.Dict[URLPattern, typing.Optional[BaseTransport]] = {
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 684, in
Open Graph Description: When using proxies support in the latest version an exception is thrown. As httpx requires new format of proxies keys (see https://github.com/encode/httpx/blob/aad60a4f123801e7ce0e02bc49138e7f0f9ca...
X Description: When using proxies support in the latest version an exception is thrown. As httpx requires new format of proxies keys (see https://github.com/encode/httpx/blob/aad60a4f123801e7ce0e02bc49138e7f0f9ca...
Opengraph URL: https://github.com/DomainTools/python_api/pull/110
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:96bacb21-ba55-c561-d58c-f7e8264b4a71 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E80C:4570:2CF0BE:3A8DB4:69827504 |
| html-safe-nonce | 734330ab8e6338eb584b183a9ea599d8917466644b7a6212a1af2177e9e9c3dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODBDOjQ1NzA6MkNGMEJFOjNBOERCNDo2OTgyNzUwNCIsInZpc2l0b3JfaWQiOiI2MjA3NTg5MDE3MTk0NzU1MzMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5babf5831e0a364b09ba5d4f86b6621a05d24beedbf66fb982f8299bfcfde65c |
| hovercard-subject-tag | pull_request:981168083 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/DomainTools/python_api/pull/110/files |
| twitter:image | https://avatars.githubusercontent.com/u/7847217?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7847217?s=400&v=4 |
| og:image:alt | When using proxies support in the latest version an exception is thrown. As httpx requires new format of proxies keys (see https://github.com/encode/httpx/blob/aad60a4f123801e7ce0e02bc49138e7f0f9ca... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 502ff2009aec8671c806fca4ec6d758f90b6b96901b01d5f0ed23cc438efdf0f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/DomainTools/python_api git https://github.com/DomainTools/python_api.git |
| octolytics-dimension-user_id | 1004560 |
| octolytics-dimension-user_login | DomainTools |
| octolytics-dimension-repository_id | 71191969 |
| octolytics-dimension-repository_nwo | DomainTools/python_api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 71191969 |
| octolytics-dimension-repository_network_root_nwo | DomainTools/python_api |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 91faf9ddeaffa60920f2a429a182532df340bb9a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width