AntiSSRFPolicy.RequiredHeaders Property
Definition
Gets a read-only view of headers that are required to be present in outgoing requests.
public IReadOnlyList<string> RequiredHeaders { get; }
Both
RequiredHeadersandDeniedHeadersare considered when validating a request. If any header is in both lists, the request will always be blocked.
Property Value
IReadOnlyList<string>
A read-only list of header names that are required by the policy.