When trying to call a feed's webhook with a wrong passphrase, the response is HTML and has a 200 status code. To make it easier to detect such errors, an error status code such as 401 should be returned.
Ideally the response would also respect the "Accepts" header and send JSON when requested.
Description
When trying to call a feed's webhook with a wrong passphrase, the response is HTML and has a 200 status code. To make it easier to detect such errors, an error status code such as 401 should be returned.
Ideally the response would also respect the "Accepts" header and send JSON when requested.
Steps to reproduce
Additional info