There was an error while loading. Please reload this page.
1 parent 30668e6 commit 6953307Copy full SHA for 6953307
1 file changed
src/core/experimental/frames/http-frame.ts
@@ -251,9 +251,13 @@ export abstract class HttpNetworkFrame extends NetworkFrame<
251
return null
252
}
253
254
+ const responseCloneForLogs = resolutionContext?.quiet
255
+ ? null
256
+ : response.clone()
257
+
258
await storeResponseCookies(request, response)
259
- this.respondWith(response.clone())
260
+ this.respondWith(response)
261
262
this.events.emit(
263
new RequestEvent('request:end', {
@@ -265,7 +269,7 @@ export abstract class HttpNetworkFrame extends NetworkFrame<
265
269
if (!resolutionContext?.quiet) {
266
270
handler.log({
267
271
request: requestCloneForLogs!,
268
- response,
272
+ response: responseCloneForLogs!,
273
parsedResult,
274
})
275
0 commit comments