(bodyInit, options)
| 400 | Body.call(Request.prototype); |
| 401 | |
| 402 | function Response(bodyInit, options) { |
| 403 | if (!options) { |
| 404 | options = {}; |
| 405 | } |
| 406 | |
| 407 | this.type = "default"; |
| 408 | this.status = options.status === undefined ? 200 : options.status; |
| 409 | this.ok = this.status >= 200 && this.status < 300; |
| 410 | this.statusText = "statusText" in options ? options.statusText : "OK"; |
| 411 | this.headers = new Headers(options.headers); |
| 412 | this.url = options.url || ""; |
| 413 | this._initBody(bodyInit); |
| 414 | } |
| 415 | |
| 416 | Body.call(Response.prototype); |
| 417 |
nothing calls this directly
no outgoing calls
no test coverage detected