fix(http): check response body text against undefined (#13017)
This commit is contained in:

committed by
Victor Berchet

parent
8db184d349
commit
f106a18b96
@ -47,7 +47,7 @@ export abstract class Body {
|
||||
return String.fromCharCode.apply(null, new Uint16Array(<ArrayBuffer>this._body));
|
||||
}
|
||||
|
||||
if (this._body === null) {
|
||||
if (this._body == null) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user