Файловый менеджер - Редактировать - /var/opt/nydus/ops/primordial/requests/adapters.py
Назад
# -*- coding: utf-8 -*- from requests.adapters import HTTPAdapter class CustomHostnameHTTPSAdapter(HTTPAdapter): """Allow for setting a custom hostname on an adapter.""" def __init__(self, custom_hostname: str) -> None: self.custom_hostname = custom_hostname super().__init__() def cert_verify(self, conn, url, verify, cert): conn.assert_hostname = self.custom_hostname return super().cert_verify(conn, url, verify, cert)
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка