Skip to content

Commit

Permalink
Use raw headers instead of parsed cookie info when generating snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Dec 13, 2024
1 parent b339e89 commit d7dae7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model/ui/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ const simplifyHarForSnippetExport = (harRequest: ExtendedHarRequest) => {
if (header.name.toLowerCase() === 'content-encoding') return false;

return true;
})
}),
cookies: [] // There are included separately in the headers, it's unhelpful to duplicate that
};
};

Expand Down

0 comments on commit d7dae7a

Please sign in to comment.