Add support for report-to directive
Currently supported report-uri
is marked as deprecated on MDN. This feature requires is to add support to specify a report-to
directive ( see report-to on MDN ).
Minimal Code Sample
User should be able to specify either report-to
or report-uri
or both.
SecureHeadersMiddlewareBuilder.UseContentSecurityPolicy(reportUri: "https://myreport-endpoint", reportTo: "endpoint-name");