New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement post-request check for fetch directives #3

notriddle opened this Issue Dec 30, 2018 · 1 comment


None yet
1 participant
Copy link

notriddle commented Dec 30, 2018

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.

  • child src
  • connect src
  • default src
  • font src
  • frame src
  • img src
  • manifest src
  • media src
  • prefetch src
  • object src
  • script src
  • script src elem
  • style src
  • style src elem
  • worker src

@notriddle notriddle changed the title Implement post-request check Implement post-request check for fetch directives Dec 30, 2018

@notriddle notriddle added this to the 0.1.0 milestone Dec 30, 2018


This comment has been minimized.

Copy link

notriddle commented Dec 30, 2018

Being a good first issue, and since we want to avoid having two different people working on the same thing, please leave a comment saying that you want to claim the issue. I'll remove the good first issue and add the assigned label to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment