Package com.kingsrook.qqq.backend.core.utils.http
package com.kingsrook.qqq.backend.core.utils.http
-
ClassDescriptionWhich network addresses an outbound request may reach.An HTTP client for calling URLs that users typed in (webhook endpoints, callbacks), which must not be usable to reach the internal network (SSRF).Resolves a host name to addresses (replaceable in tests to simulate DNS).An outbound request was refused by policy or failed before a response.What went wrong.Limits for
SafeHttpClient.The result of aSafeHttpClientrequest: the status, the headers (first value of each, names lower-cased), at most the policy'smaxResponseBytesof the body, whether the body was cut off, the address actually connected to and the duration.