withastro/astro.build

404 pages give a browser error

Closed this issue · 2 comments

On non-existent routes, e.g. astro.build/404, astro.build/broken-link, a browser encoding error is shown. Screenshots below.

Firefox:
image
Chrome Canary:
image
Safari:
image

I came to report the same thing. After digging in a bit, it looks like it's sending a content-encoding: br header, but the response is plain text. It even sends that header as br if the browser sends accept-encoding: identity or any other encoding.

This should be fixed now!