File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535A simple example of using the Updater to implement a Python TUF client that
3636downloads target files is available in `examples/client
3737<https://github.com/theupdateframework/python-tuf/tree/develop/examples/client>`_.
38+
39+ Notes on how Updater uses HTTP by default:
40+ * urllib3 is the HTTP library
41+ * Typically all requests are retried by urllib3 three times (in cases where
42+ this seems useful)
43+ * Operating system certificate store is used for TLS, in other words
44+ ``certifi`` is not used as the certificate source
45+ * Proxy use can be configured with ``https_proxy`` and other similar
46+ environment variables
47+
48+ All of the HTTP decisions can be changed with ``fetcher`` argument:
49+ Custom ``FetcherInterface`` implementations are possible. The alternative
50+ ``RequestsFetcher`` implementation is also provided (although deprecated).
3851"""
3952
4053from __future__ import annotations
You can’t perform that action at this time.
0 commit comments