diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2019-01-11 16:16:47 +1100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-11 00:16:47 -0500 |
| commit | 0e933177adb87338cdd554f5de39cef3d40407c2 (patch) | |
| tree | 9dac11ddef1d50e6354d4dc40bbe388c3a3c5b53 /net/file_server_test.ts | |
| parent | 6f5dbfe10234060828670c8848eb7e42ded1c4cd (diff) | |
Add media_types collection (denoland/deno_std#97)
Original: https://github.com/denoland/deno_std/commit/0e00fe9cd361165d28beb117cdf103ff8f9d3d8b
Diffstat (limited to 'net/file_server_test.ts')
| -rw-r--r-- | net/file_server_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/file_server_test.ts b/net/file_server_test.ts index 28357c912..bd00d749b 100644 --- a/net/file_server_test.ts +++ b/net/file_server_test.ts @@ -21,7 +21,7 @@ export function runTests(serverReadyPromise: Promise<any>) { const res = await fetch("http://localhost:4500/azure-pipelines.yml"); assert(res.headers.has("access-control-allow-origin")); assert(res.headers.has("access-control-allow-headers")); - assertEqual(res.headers.get("content-type"), "text/yaml"); + assertEqual(res.headers.get("content-type"), "text/yaml; charset=utf-8"); const downloadedFile = await res.text(); const localFile = new TextDecoder().decode( await readFile("./azure-pipelines.yml") |
