Expand description
Generic HTTP oneshot source that will fetch a file from the public internet.
Structs§
- Http
Object - Object returned from an
HttpOneshotSource. - Http
Oneshot Source - Generic oneshot source that fetches a file from a URL on the public internet.
- MzHttp
Resolver 🔒 - reqwest DNS resolver that delegates to
mz_ore::netio::resolve_address.
Enums§
Functions§
- build_
http_ client - Build a reqwest
Clientfor fetchingCOPY FROMURLs. This usesmz_ore::netio::resolve_addressfor DNS resolution. - check_
not_ 🔒redirect - Returns an error if
responseis a 3xx redirect. Materialize disables redirect following on the HTTP client (seebuild_http_client) to close an SSRF hole, so callers must surface a meaningful error rather than letting the response fall through to header parsing.