diff options
Diffstat (limited to 'cli/bench/http/bun_http.js')
-rw-r--r-- | cli/bench/http/bun_http.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/bench/http/bun_http.js b/cli/bench/http/bun_http.js index a4cd2c562..89ff9b121 100644 --- a/cli/bench/http/bun_http.js +++ b/cli/bench/http/bun_http.js @@ -2,7 +2,9 @@ const port = Bun.argv[2] || "4545"; Bun.serve({ fetch(_req) { - return new Response("Hello World"); + return new Response("Hello World", { + headers: { "Date": (new Date()).toUTCString() }, + }); }, port: Number(port), }); |