Skip to content

Commit

Permalink
fix: don't encode body 2 times
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Mar 25, 2024
1 parent 6cd5b76 commit 582e143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bidiMapper/domains/network/NetworkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export class NetworkRequest {
responseCode,
responsePhrase,
responseHeaders,
...(body ? {body: btoa(body)} : {}), // TODO: Double-check if btoa usage is correct.
body,
});
}

Expand Down

0 comments on commit 582e143

Please sign in to comment.