hastatic
hastatic copied to clipboard
404 page is always text/html, independent from the actual file
If I set NF_FILE
to 404.txt
, I'd expect the 404 page to also have the Content-Type: text/plain
, just like when accessing the file directly. Instead, it always uses text/html
.