From 271d921c4157b4a6444ed396ee51ef84eb5dd3ea Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 28 Nov 2013 12:29:28 -0800 Subject: [PATCH] change an .is() example text/* already covers it --- lib/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'