Simple requests package loader
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Variable | InsecureRequestWarning |
Undocumented |
Variable | useragent_header |
Undocumented |
Function | _get_tls_cacert |
Get additional CA cert for a specific URL. |
Function | _get_user_agent |
Undocumented |
Function | get |
Sends a GET request like requests.get(). |
Function | head |
Sends a HEAD request like requests.head(). |
Function | ignore_insecure_warning |
Undocumented |
Function | is_ssl_error |
Check an exception is SSLError. |
Get additional CA cert for a specific URL.
This also returns False if verification is disabled. And returns True if additional CA cert not found.
Parameters | |
url:str | Undocumented |
config:Config | Undocumented |
Returns | |
Union[ | Undocumented |
Sends a GET request like requests.get().
This sets up User-Agent header and TLS verification automatically.
Parameters | |
url:str | Undocumented |
**kwargs:Any | Undocumented |
Returns | |
requests.Response | Undocumented |
Sends a HEAD request like requests.head().
This sets up User-Agent header and TLS verification automatically.
Parameters | |
url:str | Undocumented |
**kwargs:Any | Undocumented |
Returns | |
requests.Response | Undocumented |