Allow direct ip access from workers and all headers with fetch

Hi @ssttevee,

No. I know that we return 500, 502, 504, and 520-526, inclusive, but I’m unaware of an exhaustive list in our documentation. If you need to sanitize the error pages, I’d recommend unconditionally replacing the bodies of 5xx responses with your own text.

Thanks for pointing this out; I was mistaken: X-Forwarded-Proto takes its value from the URL passed to fetch() (except same-zone subrequests with a Flexible SSL setting, which always take the value “http”, it seems).

Harris