MCPcopy
hub / github.com/xcanwin/KeepChatGPT / rebuildConsumedResponse

Function rebuildConsumedResponse

KeepChatGPT.user.js:2133–2139  ·  view source on GitHub ↗
(response, body)

Source from the content-addressed store, hash-verified

2131 };
2132
2133 const rebuildConsumedResponse = function (response, body) {
2134 return new Response(body, {
2135 status: response.status,
2136 statusText: response.statusText,
2137 headers: response.headers,
2138 });
2139 };
2140
2141 global.__test__ = Object.assign(global.__test__ || {}, {
2142 isTrackingRequest: isTrackingRequest,

Callers 1

hookFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected