no longer need to expose promise on reponse constructor now that body constructor exists
This commit is contained in:
parent
532adab676
commit
dec9c7bda6
|
@ -33,6 +33,3 @@ function Response(body, opts) {
|
|||
}
|
||||
|
||||
Response.prototype = Object.create(Body.prototype);
|
||||
|
||||
// expose Promise
|
||||
Response.Promise = global.Promise;
|
||||
|
|
Loading…
Reference in New Issue