AntiSSRFPolicy.allowPlainTextHttp Property
Changing an
AntiSSRFPolicyinstance to allow plaintext HTTP means you will be able to send HTTP requests without the recommended TLS encryption.
Definition
Determines whether HTTPS is required or HTTP is allowed.
allowPlainTextHttp: boolean { get; set; }
With ALL configuration options, HTTP is disallowed unless
allowPlainTextHttpis explicitly set totrue.
Property Value
boolean
trueif HTTP should be allowed.falseif HTTPS should be required.
Errors
AntiSSRFError The value passed cannot be null or undefined.