Skip to content
Myr

docs

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

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 5fa2f89 · Browse files · 2 files+5 added−1 removed
This commit

State

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

Diff stats

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:lib/request.js+3 added-1 removed
38 unmodified lines
39 * // => "text/plain"40 * 41 * req.get('Something');42 * // => undefined43 * 43 *44 * Aliased as `req.header()`.45 *46 * @param {String} name47 * @return {String} 48 * @api public49 */
369 unmodified lines
modified:lib/response.js+2 added
385 unmodified lines
386 *387 * res.set('Accept', 'application/json');388 * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' });389 *390 * Aliased as `res.header()`. 391 *392 * @param {String|Object} field393 * @param {String} val394 * @return {ServerResponse} for chaining395 * @api public
248 unmodified lines