]> git.ardis.lu - envpass/commit
Set `Content-Length` header on all responses
authorArdis Lu <ardisglu@gmail.com>
Thu, 16 Jul 2026 06:24:22 +0000 (23:24 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 16 Jul 2026 06:24:22 +0000 (23:24 -0700)
commitefbf578aea1ff4ffd53b4f3a614d667f60a3970e
tree4a96435d409c5b02566cff6cde81cf2fbe308380
parent19bd9ff3c9dfa01a3717121a39363354bba68269
Set `Content-Length` header on all responses

This value is easy to determine, so might as well make the response more useful and deterministic. Setting this header also lets the server drop the default `Transfer-Encoding: chunked` response header which could also be a miniscule performance improvement on clients.
src/getPrf.js
This page took 0.043498 seconds and 4 git commands to generate.