(init)
| 12861 | return newResponse; |
| 12862 | } |
| 12863 | function makeResponse(init) { |
| 12864 | return __spreadProps(__spreadValues({ |
| 12865 | aborted: false, |
| 12866 | rangeRequested: false, |
| 12867 | timingAllowPassed: false, |
| 12868 | requestIncludesCredentials: false, |
| 12869 | type: "default", |
| 12870 | status: 200, |
| 12871 | timingInfo: null, |
| 12872 | cacheState: "", |
| 12873 | statusText: "" |
| 12874 | }, init), { |
| 12875 | headersList: (init == null ? void 0 : init.headersList) ? new HeadersList(init == null ? void 0 : init.headersList) : new HeadersList(), |
| 12876 | urlList: (init == null ? void 0 : init.urlList) ? [...init.urlList] : [] |
| 12877 | }); |
| 12878 | } |
| 12879 | function makeNetworkError(reason) { |
| 12880 | const isError = isErrorLike(reason); |
| 12881 | return makeResponse({ |
no test coverage detected