Skip to content
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

Decorators depending on request method types #170

Closed
wants to merge 3 commits into from
Closed

Decorators depending on request method types #170

wants to merge 3 commits into from

Conversation

erdimeola
Copy link

References #169

  • Added methods parameter to csp decorators to apply updates depending o request types
  • Updated the documentation

I've implemented a valid_method function to check if methods parameter is passed to apply the changes only in certain request methods.

This is the first time I'm writing code to an open source project so you are free to criticize my code =)
Updated documentation for methods parameter
@erdimeola erdimeola closed this Apr 27, 2021
@erdimeola erdimeola deleted the patch-1 branch April 27, 2021 21:02
@erdimeola
Copy link
Author

I forgot to add the tests, sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant