← expressjs/express

CODEFOSSIL · express

res.status

method in lib/response.js:65 · Born 2011-06-28 (DERIVED, confidence 1.00)

15years old
5changes
1fix
4authors
23callers
2012201320142015201620172018201920202021202220232024202520262015-06-20 bb53b20 perf: remove argument reassignments in response prototype2018-10-27 8da5110 Improve error message for null/undefined to res.status2019-05-25 0a48e18 Revert "Improve error message for null/undefined to res.status"2022-03-24 4847d0e Deprecate string and non-integer arguments to res.status2024-07-30 723b545 Throw on invalid status codes (#4212)2011-06-28 b04be51 Added chainable res.status(code)
Every commit that changed it, 2011-06-28 – 2024-07-30. Raised orange dots are fixes.
  1. Changed Throw on invalid status codes (#4212)

    723b545 · Jon Church

  2. Changed Deprecate string and non-integer arguments to res.status

    4847d0e · Jon Church

  3. Changed Revert "Improve error message for null/undefined to res.status"

    0a48e18 · Douglas Christopher Wilson fix · INFERRED

  4. Changed Improve error message for null/undefined to res.status

    8da5110 · Joshua Caron

  5. Changed perf: remove argument reassignments in response prototype

    bb53b20 · Douglas Christopher Wilson

  6. Born Added chainable res.status(code)

    b04be51 · Tj Holowaychuk