change an .is() example
text/* already covers it
This commit is contained in:
parent
8717a3ad2b
commit
271d921c41
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue