Skip to content

Commit

Permalink
Fix header filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Dec 3, 2024
1 parent 33e6ee6 commit f8504ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/lib/services/response-saver.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function computeConfigIdentity(config: AxiosRequestConfig): ConfigIdentity {
}

if (config.headers !== undefined) {
const filteredHeaders = Object.entries(config.headers).filter(([key]) => !FILTER_HEADERS.includes(key));
const filteredHeaders = Object.entries(config.headers).filter(([key]) => !FILTER_HEADERS.includes(key.toLowerCase()));
sortEntries(filteredHeaders);
requestIdentity.push([`headers`, filteredHeaders]);
}
Expand Down

0 comments on commit f8504ac

Please sign in to comment.