Skip to content

Conversation

alrs
Copy link
Contributor

@alrs alrs commented Oct 20, 2016

I've added the functionality to both Github and Bitbucket to pass HTTP headers from each request to the ProcessPayloadFunc. This is especially useful with Github, where headers are where the webhook ID can be found in X-GitHub-Delivery.

This works with Github. I have not tested with Bitbucket. The existing tests are passing, but no tests have been added to verify the new functionality.

I can add tests if this looks like a reasonable solution to you. My feelings won't be hurt if you beat me to it.

@deankarn
Copy link
Collaborator

I'll take a look as soon as I can, can't promise tonight but I will try and yes v2-development should be fine

@deankarn deankarn merged commit 60d6ca1 into go-playground:v2-development Oct 20, 2016
myback added a commit to myback/webhooks that referenced this pull request Sep 29, 2021
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.

2 participants