Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement post-request check for fetch directives #3
It should be possible to implement this almost exactly the same way that the pre-request check is implemented, just with the extra information of the response provided. Here's where the fetch directives checks are documented; the pre-request checks are already implemented, so just do the post-request ones.
If there's a piece of information that the CSP standard requires, but that is not currently provided, you should probably add it to the Response struct.