untrusted
A fetcher under an Untrusted policy with every rule live except the loopback ones (the host localhost, 127.0.0.0/8, ::1 and the port rule for exactly those hosts).
Return
the fetcher; the caller closes it.
Parameters
the User-Agent sent on every request, under the rule of the public UrlFetcher(userAgent) factory: non-blank, visible ASCII, no leading or trailing space.
the policy; the defaults when omitted.
answers a host name with addresses; the system resolver by default. Called on the transport's own threads, never the caller's, and possibly from several at once, so it must be thread-safe; it may block. Its exceptions reach the transport unchanged.
sets the budget (caller-owned, never closed by the fetcher), reader, clocks and defaultMaxWait; empty by default.
Throws
for a userAgent the public factory refuses, a policy.settings.maxResponseBytes above Int.MAX_VALUE - 8 or a negative defaultMaxWait; nothing stays open, and the message is constant and never echoes a value.