Skip to content

Commit

Permalink
run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed Sep 24, 2024
1 parent a8f9a63 commit 4d5774b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/http/fetch/src/middlewares/compressionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export class CompressionHandler implements Middleware {
const response = await this.next?.execute(url, requestInit as RequestInit, requestOptions);
if (response?.status === 415) {
// remove the Content-Encoding header
const headers = requestInit.headers as Record<string, string>;
delete headers[CompressionHandler.CONTENT_ENCODING_HEADER];
requestInit.headers = headers;
requestInit.body = unCompressedBody;
Expand Down

0 comments on commit 4d5774b

Please sign in to comment.