CODEFOSSIL · express
res.header
method in lib/response.js:670 · Born 2011-02-04 (DERIVED, confidence 1.00)
Changed Use mime-types for file to content type mapping
a0276c6· Douglas Christopher WilsonChanged Fix error when res.set cannot add charset to Content-Type
ae0b630· Oz Michaeli fix · INFERREDChanged perf: remove argument reassignments in response prototype
bb53b20· Douglas Christopher WilsonChanged perf: fix arguments reassign deopt in some res methods
c6e6203· Douglas Christopher Wilson fix · INFERREDChanged preserve casing of headers in res.header and res.set
1536a21· Douglas Christopher WilsonChanged move setHeader charset patch to .set
bad55f7· Jonathan OngChanged refactor res.set() array support
a4b2e48· TJ HolowaychukChanged Allow setting an array of header values in the response
4031aaa· Greg MethvinChanged Added: coerce `res.set()` values to strings
67ddb42· TJ HolowaychukChanged Added `res.header()` and `req.header()` aliases for BC
5fa2f89· TJ HolowaychukChanged Added `res.get(field)` as an alternative to `res.header(field)`
c8c6aa2· Tj HolowaychukChanged Refactored `res.header()`
54d3751· Tj HolowaychukChanged chainable `res.header()`
41568b7· Tj HolowaychukChanged utilizing nodes progressive response header api
5052128· Tj HolowaychukBorn Refactored req/res proto assignments
99820e7· Tj Holowaychuk