CODEFOSSIL · express
res.send
method in lib/response.js:126 · Born 2011-02-04 (DERIVED, confidence 1.00)
Changed fix(res.send): preserve ETag generation with Transfer-Encoding (#7459)
9a34acf· cui fliter fix · INFERREDChanged fix(res.send): add Content-Length header only if Transfer-Encoding is not present (#4893)
18e5985· Yury Shkoda fix · INFERREDChanged feat: do not modify the Content-Type twice when sending strings (#6991)
a479419· Sebastian BeltranChanged feat: Added check to support Uint8Array in response sending (#6285)
55869f4· Alexander CeruttiChanged Throw on invalid status codes (#4212)
723b545· Jon ChurchChanged deps: statuses@2.0.1
980d881· 3imed-jaberiChanged Support proper 205 responses using res.send
87279c0· Tito D. Kesumo SiregarChanged Fix TypeError in res.send when given Buffer and ETag header set
b7817ab· David Wood fix · INFERREDChanged Use safe-buffer for improved Buffer API
12c3712· Douglas Christopher WilsonChanged Skip Buffer encoding when not generating ETag for small response
48940e6· Douglas Christopher WilsonChanged Remove res.send(status, body) signature
e3bd14d· Mike TunnicliffeChanged Use statuses instead of http module for status messages
034165c· WesChanged perf: use strict equality when possible
b69b760· Ángel SanzChanged perf: use saved reference to http.STATUS_CODES
91731b4· Thomas CortChanged Generate ETags for all request responses
eaf3318· Douglas Christopher WilsonChanged Fix res.send double-calling res.end for HEAD requests
c24463d· Douglas Christopher Wilson fix · INFERREDChanged Remove res.send(status) signature
97ccc52· Douglas Christopher WilsonChanged Remove res.send(body, status) signature
e66625b· Douglas Christopher WilsonChanged Fix res.send to mention res.sendStatus
4dd9705· Douglas Christopher Wilson fix · INFERREDChanged Deprecate combined status, response signatures
fd3b405· Douglas Christopher WilsonChanged perf: prevent multiple Buffer creation in res.send
b43205c· Douglas Christopher WilsonChanged perf: fix arguments reassign deopt in some res methods
c6e6203· Douglas Christopher Wilson fix · INFERREDChanged Fix res.send(status, num) to send num as json
544c666· Yad Smood fix · INFERREDChanged add deprecation message to res.send(body, status)
ba8a4c5· Douglas Christopher WilsonChanged improve etag control for res.send
c21226a· Douglas Christopher WilsonChanged Include ETag in HEAD requests
3c0ec59· Tiago RelvaoChanged set proper charset in content-type for res.send
f14e39d· Douglas Christopher WilsonChanged Include ETag in HEAD requests
3c7310e· Tiago RelvaoChanged remove res.charset usage
2064f41· Jonathan OngChanged always send ETag when content-length > 0
55d1a4f· Jonathan OngChanged refactor
8ad8cb9· TJ HolowaychukChanged Add application setting to disable ETag completely
54a192a· Max RiveiroChanged Revert "fix infinite loop when res.send(status) is undefined. Closes #1623"
10b21b4· TJ Holowaychuk fix · INFERREDChanged fix infinite loop when res.send(status) is undefined. Closes #1623
28b8a3b· TJ Holowaychuk fix · INFERREDChanged change generation of ETags with res.send() to GET requests only. Closes #1619
3296ed9· TJ HolowaychukChanged Explicitly remove Transfer-Encoding header from 204 and 304 responses
a1e42ac· Alex WeeksChanged Revert "add 'etag' option"
9bd86cd· TJ Holowaychuk fix · INFERREDChanged add 'etag' option
6f6eec7· Max RiveiroChanged remove non-primitive string support for `res.send()`
f0d5b3b· TJ HolowaychukChanged add etag util
f2f0976· TJ HolowaychukChanged merge
214f913· TJ HolowaychukChanged Added `res.send(body, status)` support back for backwards compat
3c0c961· TJ HolowaychukChanged Added 2xx / 304 check to req.fresh
d073e0a· TJ HolowaychukChanged misc
ce7293d· TJ HolowaychukChanged Fixed `res.send()` freshness check, respect res.statusCode
108e66c· TJ Holowaychuk fix · INFERREDChanged Changed: res.send() always checks freshness
640cf4c· TJ HolowaychukChanged Changed: res.send() only set ETag when not previously set
1a3e40d· TJ HolowaychukChanged Added Buffer ETag support to res.send()
c0a68fc· TJ HolowaychukChanged merged
809e0b8· TJ HolowaychukChanged Added conditional-GET support to res.send()
a58e3de· TJ HolowaychukChanged .contentType -> .type() in core
7c2e1ad· TJ HolowaychukChanged refactored res.send()
b809041· TJ HolowaychukChanged Make string object behave like string literals with res.send
0f58593· Pierre MatriChanged utilize `res.set()` internally
c44f018· TJ HolowaychukChanged refactored `res.send()`
2c734e2· Tj HolowaychukChanged Changed `res.{send,json}()` status code to the first arg at all times
c35cd7f· Tj HolowaychukChanged Fixed 204 / 304 responses
c631eb4· Tj Holowaychuk fix · INFERREDChanged Changed `res.send(null)` responds with empty string
376bedf· Tj HolowaychukChanged Fixed [23]04 support
5ac5352· Tj Holowaychuk fix · INFERREDChanged fixed some tests
d853f6c· Tj Holowaychuk fix · INFERREDChanged Removed header field support
bcfcce3· Tj HolowaychukChanged Removed `res.send()` with no args support for 204
232b6ab· Tj HolowaychukChanged Removed `res.send()` with no args support for 204
b13ec85· Tj HolowaychukChanged res.send() using res.json()
2aaf0de· Tj HolowaychukChanged Added res.json() and tests
1386f80· Tj HolowaychukChanged Fixed; ignore body on 304. Closes #701
9028cac· Tj Holowaychuk fix · INFERREDChanged misc
9d498ba· Tj HolowaychukChanged JSON and JSONP default to UTF-8 in the same way as HTML. Closes #632.
3afbcd0· Daniel ShawChanged JSON and JSONP default to UTF-8 in the same way as HTML. Introduces app.set('charset') to set charset default at the application level. Closes #632.
8f054db· Daniel ShawChanged res.send(undefined) returns a 204
673ba22· Aaron HeckmannChanged Added res.send(bool) support
b7232f3· Tj HolowaychukChanged typo
4874404· Tj HolowaychukChanged Fixed SlowBuffer support. Closes #584
5da0163· Tj Holowaychuk fix · INFERREDChanged Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
3a1fe1e· Tj Holowaychuk fix · INFERREDChanged default res.send() string charset to utf8
acbf224· Tj HolowaychukChanged refactored res.send()
3661922· Tj HolowaychukChanged utilizing nodes progressive response header api
5052128· Tj HolowaychukChanged styling
770f05c· Tj HolowaychukBorn Refactored req/res proto assignments
99820e7· Tj Holowaychuk