Skip to content
Myr

Fix typos in req.accepts jsdoc

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

closes #2527

authored by Elvin Yung · committed by Douglas Christopher Wilson · parent 53e5991 · Browse files · 1 file+4 added−4 removed
This commit

State

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

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:lib/request.js+4 added-4 removed
61 unmodified lines
62 * Check if the given `type(s)` is acceptable, returning63 * the best match when true, otherwise `undefined`, in which64 * case you should respond with 406 "Not Acceptable".65 *66 * The `type` value may be a single mime type string67 * such as "application/json", the extension name68 * such as "json", a comma-delimted list such as "json, html, text/plain",66 * The `type` value may be a single MIME type string67 * such as "application/json", an extension name68 * such as "json", a comma-delimited list such as "json, html, text/plain",69 * an argument list such as `"json", "html", "text/plain"`,70 * or an array `["json", "html", "text/plain"]`. When a list71 * or array is given the _best_ match, if any is returned.71 * or array is given, the _best_ match, if any is returned.72 *73 * Examples:74 *75 * // Accept: text/html
392 unmodified lines