CODEFOSSIL · express
res.contentType
method in lib/response.js:507 · Born 2011-02-04 (DERIVED, confidence 1.00)
15years old
6changes
0fixes
3authors
1caller
Changed Use mime-types for file to content type mapping
a0276c6· Douglas Christopher WilsonChanged perf: remove argument reassignments in response prototype
bb53b20· Douglas Christopher WilsonChanged Changed to allow extname or type/subtype only. Closes #1072
24a4e95· TJ HolowaychukChanged utilize `res.set()` internally
c44f018· TJ HolowaychukChanged Added res.type() alias of res.contentType()
54c1a20· Tj HolowaychukChanged replaced connect.utils.mime() with mime module
d37ad85· Tj HolowaychukBorn Refactored req/res proto assignments
99820e7· Tj Holowaychuk