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

Add new .generate_header method for webhooks #916

Merged
merged 1 commit into from Apr 27, 2020

Commits on Apr 27, 2020

  1. Add new .generate_header method for webhooks

    Adds a new `generate_header` method for the webhooks module, following
    up #915. This method doesn't help in any way with webhook verification,
    but may be useful to users in their test suites as it allows them to
    easily simulate the contents of a header that Stripe might have sent.
    
    We briefly discussed an alternative design here, but this one seems like
    the best fit:
    #915 (comment)
    brandur committed Apr 27, 2020
    Copy the full SHA
    056d0e5 View commit details
    Browse the repository at this point in the history