go-playground / webhooks

:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs
MIT License
950 stars 238 forks source link

[GitHub] Verify content type to provide expressive error message #142

Closed tisonkun closed 2 years ago

tisonkun commented 2 years ago

Today I was struggling hours with that the GitHub WebHook's content type must be application/json. It could be helpful we verify the content type and provide expressive error message to help users fix the setting.

I'm glad to send a PR if it's concluded to be a valid issue.

tisonkun commented 2 years ago

Closed as no one interested in.