Tests: Specify Content-Type header in tests that use HTTP server

Currently these tests work, because we are lucky to have fetched
response body available in `load_document()` to correctly sniff the MIME
type. This is a preparation for upcoming change that makes fetching
unbuffered, which will break these test unless we explicitly set the
`Content-Type` header.
This commit is contained in:
Aliaksandr Kalenik
2025-11-17 03:26:31 +01:00
committed by Tim Flynn
parent 5bbf2ddc5b
commit a79c995d8a
Notes: github-actions[bot] 2025-11-20 11:31:37 +00:00
3 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"Access-Control-Allow-Origin": "*",
"Access-Control-Expose-Headers": "Content-Language",
"Content-Language": "ko",
"Content-Type": "text/html",
},
body: `
<style>