Skip to content

Commit

Permalink
feat: delete raw headers in json output in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Dec 28, 2021
1 parent 2149a2f commit 6712e55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/send/jsonOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export function toSendJsonOutput(context: Record<string, Array<HttpRegion>>, opt

function convertResponse(response: HttpResponse | undefined, output: string | undefined) {
if (response) {
delete response.rawHeaders;
delete response.rawBody;
delete response.prettyPrintBody;
delete response.parsedBody;
Expand Down

0 comments on commit 6712e55

Please sign in to comment.