Skip to content

Commit d7dae7a

Browse files
committed
Use raw headers instead of parsed cookie info when generating snippets
1 parent b339e89 commit d7dae7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/model/ui/export.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ const simplifyHarForSnippetExport = (harRequest: ExtendedHarRequest) => {
106106
if (header.name.toLowerCase() === 'content-encoding') return false;
107107

108108
return true;
109-
})
109+
}),
110+
cookies: [] // There are included separately in the headers, it's unhelpful to duplicate that
110111
};
111112
};
112113

0 commit comments

Comments
 (0)