Skip to content
Myr

Remove req.acceptsCharset

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent be35e49 · Browse files · 3 files+1 added−52 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+1 added−52 removed

  • tests:+0 added−49 removed
  • other:+1 added−3 removed

3 files+1 added−52 removed

modified:lib/request.js-3 removed
135 unmodified lines
136 var accept = accepts(this);137 return accept.charsets.apply(accept, arguments);138};139140req.acceptsCharset = deprecate.function(req.acceptsCharsets,141 'req.acceptsCharset: Use acceptsCharsets instead');142140/**141 * Check if the given `lang`s are acceptable,142 * otherwise you should respond with 406 "Not Acceptable".143 *
348 unmodified lines
deleted:test/req.acceptsCharset.js-49 removed
modified:History.md+1 added
1 unmodified line
2===34 * remove:5 - `app.del` - use `app.delete`6 - `req.acceptsCharset` - use `req.acceptsCharsets`7 - `res.json(obj, status)` signature - use `res.json(status, obj)`8 - `res.jsonp(obj, status)` signature - use `res.jsonp(status, obj)`9 - `res.send(body, status)` signature - use `res.send(status, body)`10 - `express.query` middleware
2456 unmodified lines