(init)
| 58969 | ); |
| 58970 | } |
| 58971 | const newResponse = makeResponse({ ...response, body: null }); |
| 58972 | if (response.body != null) { |
| 58973 | newResponse.body = cloneBody(response.body); |
| 58974 | } |
| 58975 | return newResponse; |
| 58976 | } |
| 58977 | function makeResponse(init) { |
| 58978 | return { |
| 58979 | aborted: false, |
| 58980 | rangeRequested: false, |
| 58981 | timingAllowPassed: false, |
| 58982 | requestIncludesCredentials: false, |
| 58983 | type: "default", |
| 58984 | status: 200, |
| 58985 | timingInfo: null, |
| 58986 | cacheState: "", |
| 58987 | statusText: "", |
| 58988 | ...init, |
| 58989 | headersList: init.headersList ? new HeadersList(init.headersList) : new HeadersList(), |
no outgoing calls
no test coverage detected
searching dependent graphs…