Skip to content

Commit df2c1e3

Browse files
authored
chore: keep content-encoding and content-length headers in the response
Comment out the header removal on the compressed response. related to apify/impit#388
1 parent 2237ed6 commit df2c1e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tower-http/src/decompression/future.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ where
6767
}
6868
};
6969

70-
entry.remove();
71-
parts.headers.remove(header::CONTENT_LENGTH);
70+
// entry.remove();
71+
// parts.headers.remove(header::CONTENT_LENGTH);
7272

7373
Response::from_parts(parts, body)
7474
} else {

0 commit comments

Comments
 (0)