Skip to content

Commit

Permalink
fix(proxy): ignore incoming accept-encoding header
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 14, 2024
1 parent e25215d commit c94c9e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface ProxyOptions {
const PayloadMethods = new Set(["PATCH", "POST", "PUT", "DELETE"]);
const ignoredHeaders = new Set([
"transfer-encoding",
"accept-encoding",
"connection",
"keep-alive",
"upgrade",
Expand Down

0 comments on commit c94c9e6

Please sign in to comment.