Files
mattermost/web
Mario de Frutos Dieguez beadeaf8b5 [MM-25677] Content-Type is optional (#14705)
* Content-Type is optional

mime.ParseMimeType returns and "no media type" error if the passed
string is empty.

Given that the Content-Type header is optional we shouldn't return an error
in that case, so we're fixing that allowing the users to call the webhook
without passing that header

* Include webhook id in the error message

Given that the number of webhooks could be big the user could
need the id to check which one of the multiple webhooks are failing
so include the id aids in that part
2020-06-01 21:07:02 +02:00
..
2020-05-19 18:20:41 +02:00