SSRFSafeTransport(
self,
policy: SSRFPolicy = SSRFPolicy(),
**transport_kwargs: object = {}httpx.AsyncBaseTransport| Name | Type |
|---|---|
| policy | SSRFPolicy |
httpx async transport that validates DNS results against an SSRF policy.
For every outgoing request the transport:
policy.allowed_schemes.Host header and TLS SNI hostname.Redirects are re-validated on each hop because follow_redirects
is set on the client, causing handle_async_request to be called
again for each redirect target.