Skip to content

Commit

Permalink
fix: strip content-length header so incorrect values arent accidental…
Browse files Browse the repository at this point in the history
…ly sent
  • Loading branch information
travis-w committed Jul 19, 2022
1 parent ae1b636 commit 49874b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const filterResponseHeaders = (headers: Record<string, string>) => {
'trailer',
'upgrade',
'host',
'content-length',
...connectionHeaders
];

Expand Down

0 comments on commit 49874b3

Please sign in to comment.