
committed by
Simon Ramsay

parent
45f5df371d
commit
30c43521d3
@ -76,6 +76,7 @@ export class Response {
|
||||
constructor(responseOptions: ResponseOptions) {
|
||||
this._body = responseOptions.body;
|
||||
this.status = responseOptions.status;
|
||||
this.ok = (this.status >= 200 && this.status <= 299);
|
||||
this.statusText = responseOptions.statusText;
|
||||
this.headers = responseOptions.headers;
|
||||
this.type = responseOptions.type;
|
||||
|
Reference in New Issue
Block a user