diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-09-04 18:29:38 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 18:29:38 +0530 |
commit | 50fc5d169aec43b4cc0c4ff08a8073bca99c18f4 (patch) | |
tree | 8af22fe7b560ddb7a16b269e644629e2a3891231 /cli/bench/http/bun_http.js | |
parent | e324151520c62c9503e5e38da66827cd7815ea14 (diff) |
fix(bench): make sure bytes/response is equal (#15763)
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), }); |