remove null return from .is()
This commit is contained in:
parent
48601ea7d8
commit
5dfadba96f
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ module.exports = {
|
||||||
|
|
||||||
is: function(types){
|
is: function(types){
|
||||||
// no request body
|
// no request body
|
||||||
if (!(this.length || 'transfer-encoding' in this.header)) return null;
|
if (!(this.length || 'transfer-encoding' in this.header)) return;
|
||||||
|
|
||||||
var ct = this.type;
|
var ct = this.type;
|
||||||
// no content-type
|
// no content-type
|
||||||
|
|
Loading…
Reference in a new issue