CODEFOSSIL · express
res.cookie
method in lib/response.js:747 · Born 2011-02-04 (DERIVED, confidence 1.00)
Changed fix: Remove `utils-merge` dependency - use spread syntax instead (#6091)
246f6f5· Phillip BartaChanged Fix behavior of null/undefined as "maxAge" in res.cookie
5855339· Chris Barth fix · INFERREDChanged Simplify res.cookie to call res.append
5915894· Douglas Christopher WilsonChanged perf: remove argument reassignments in response prototype
bb53b20· Douglas Christopher WilsonChanged Fix internal utils.merge deprecation warnings
af10438· Douglas Christopher Wilson fix · INFERREDChanged move support for multiple `res.cookie` calls to lib/response
d42d8f5· Roman ShtylmanChanged remove last pieces of connect dependency
1396e08· Roman ShtylmanChanged use utils-merge module to mixin object properties
718e68f· Roman ShtylmanChanged Accept number as value of Signed Cookie
6d39ed8· Hack SparrowChanged Don't mangle the options object in res.cookie
39ee6f8· Greg MethvinChanged add 'etag' option
6f6eec7· Max RiveiroChanged fix cookie max-age
ab9c275· TJ Holowaychuk fix · INFERREDChanged update connect
612fc47· TJ HolowaychukChanged Fix signed cookie prefix
0217e6c· Tony Edwards fix · INFERREDChanged coerce res.cookie values to strings
ebf60d2· TJ HolowaychukChanged fixing cookies for connect 2.3.1
02d4384· TJ HolowaychukChanged Added { signed: true } option to res.cookie()
1150a88· TJ HolowaychukChanged utilize `res.set()` internally
c44f018· TJ HolowaychukChanged removed old tests
386a9e8· TJ HolowaychukChanged removed "root" setting
87b991c· Tj HolowaychukChanged Added JSON cookie support & tests. Closes #879
7ac857a· Tj HolowaychukChanged Fixed res.cookie() path default
bee0496· Tj Holowaychuk fix · INFERREDChanged Merged basepath setting. Closes #813
e9abe1b· Tj HolowaychukChanged Changed `res.{cookie,clearCookie}()` return res
a3cddb8· Tj HolowaychukChanged when cookie path === null dont default it
ee4471b· Tj HolowaychukChanged Changed; default cookie path to "home" setting. Closes #731
09c9452· Tj HolowaychukChanged Added res.cookie() maxAge support
4c274c5· Tj HolowaychukBorn Refactored req/res proto assignments
99820e7· Tj Holowaychuk