Module http

Module http 

Source

Structs§

RemoteContent
Defines remote content that can be downloaded securely.

Functions§

download_and_verify
Fetch a URL and verify its SHA-256 matches expectations.
download_to_path
Ensure a URL with specified hash exists in a local filesystem path.
get_http_client
Obtain an HTTP client, taking proxy environment variables into account.