Update static website 404 page

This commit is contained in:
2026-04-21 21:26:50 +08:00
parent c77c592832
commit 8935188c8f
4 changed files with 12 additions and 33 deletions

View File

@@ -439,4 +439,4 @@ class TestWebsiteServing:
store.set_mapping("noerr.example.com", "no-err")
resp = website_client.get("/missing.html", headers={"Host": "noerr.example.com"})
assert resp.status_code == 404
assert b"Not Found" in resp.data
assert resp.data == b"404 page not found"