diff --git a/lib/request.js b/lib/request.js index 001ed9e..56d3759 100644 --- a/lib/request.js +++ b/lib/request.js @@ -497,7 +497,7 @@ module.exports = { * // With Content-Type: text/html; charset=utf-8 * this.is('html'); // => 'html' * this.is('text/html'); // => 'text/html' - * this.is('text/*', 'text/html'); // => 'text/*' + * this.is('text/*', 'application/json'); // => 'text/*' * * // When Content-Type is application/json * this.is('json', 'urlencoded'); // => 'json'