301 Invalid response for webhook


I am trying to set up my own webhook for an API I’m developing, however, github seems to fail because it’s a 301 response. This is an issue, since this is caused by Cloudflare, as I’m using them for SSL and DDOS-protection.

Why does github error on 301, if they could simply send a secondary request?