← expressjs/express

CODEFOSSIL · express

req.is

method in lib/request.js:269 · Born 2011-02-04 (DERIVED, confidence 1.00)

15years old
10changes
1fix
4authors
1caller
2012201320142015201620172018201920202021202220232024202520262011-02-23 d37ad85 replaced connect.utils.mime() with mime module2011-03-01 0cc6abf refactored req.is()2011-05-19 6e633b3 return bool from req.is()2011-07-29 82c78ec semi2011-12-30 014fb46 Added `req.is()` tests2011-12-30 26fb403 Fixed `req.is()` with charsets2011-12-30 edfe50e Removed `app.is()` support2012-02-07 85d6964 Removed `req.header(field)`2014-01-03 cec0c06 refactor req.is and req.accepts*2015-06-20 d414a2d perf: remove argument reassignments in request prototype2011-02-04 99820e7 Refactored req/res proto assignments
Every commit that changed it, 2011-02-04 – 2015-06-20. Raised orange dots are fixes.
  1. Changed perf: remove argument reassignments in request prototype

    d414a2d · Douglas Christopher Wilson

  2. Changed refactor req.is and req.accepts*

    cec0c06 · Jonathan Ong

  3. Changed Removed `req.header(field)`

    85d6964 · TJ Holowaychuk

  4. Changed Removed `app.is()` support

    edfe50e · TJ Holowaychuk

  5. Changed Fixed `req.is()` with charsets

    26fb403 · TJ Holowaychuk fix · INFERRED

  6. Changed Added `req.is()` tests

    014fb46 · TJ Holowaychuk

  7. Changed semi

    82c78ec · Tj Holowaychuk

  8. Changed return bool from req.is()

    6e633b3 · Tj Holowaychuk

  9. Changed refactored req.is()

    0cc6abf · Tj Holowaychuk

  10. Changed replaced connect.utils.mime() with mime module

    d37ad85 · Tj Holowaychuk

  11. Born Refactored req/res proto assignments

    99820e7 · Tj Holowaychuk