Issue Overview
When using application/x-www-form-urlencoded and not application/json as the content type for the incoming webhook you get the message {"result":"Not the default branch"}.
I'd expect another message if the content type isn't supported at all or, maybe be better, actually supported.
To Reproduce
Steps to reproduce the behavior:
Go to a GitHub project
Change the content type of the webhook
Scroll down to a previous delivery
Click Redeliver and check the response tab
Expected behavior
An better error message or a successful import.
Issue Overview When using
application/x-www-form-urlencoded
and notapplication/json
as the content type for the incoming webhook you get the message{"result":"Not the default branch"}
. I'd expect another message if the content type isn't supported at all or, maybe be better, actually supported.To Reproduce Steps to reproduce the behavior:
Expected behavior An better error message or a successful import.