CODEFOSSIL · express
res.set
method in lib/response.js:669 · Born 2011-08-10 (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 refactor vhost example
ab75fa0· TJ HolowaychukChanged refactor vhost example
bb29da5· TJ HolowaychukChanged Revert "add 'etag' option"
9bd86cd· TJ Holowaychuk fix · INFERREDChanged add 'etag' option
6f6eec7· Max RiveiroChanged Added: coerce `res.set()` values to strings
67ddb42· TJ HolowaychukChanged Added `res.header()` and `req.header()` aliases for BC
5fa2f89· TJ HolowaychukChanged Added support for `res.set(obj)`. Closes #834
021655a· Tj HolowaychukChanged Added `res.get(field)` as an alternative to `res.header(field)`
c8c6aa2· Tj HolowaychukBorn Added `res.set(field, val)` as an alternative to `res.header()`
19a1a22· Tj Holowaychuk