Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit c2215e0

Browse files
authored
refactor: remove unnecessary compression for GET and DELETE requests (#308)
1 parent edcb0a0 commit c2215e0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/api.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,6 @@ impl BaseClient {
737737
client::RequestBuilder::get(url)
738738
.timeout(self.request_timeout)
739739
.headers(&self.default_headers)
740-
.compression(self.compression)
741740
}
742741

743742
pub fn post(&self, url: Url) -> client::RequestBuilder {
@@ -758,7 +757,6 @@ impl BaseClient {
758757
client::RequestBuilder::delete(url)
759758
.timeout(self.request_timeout)
760759
.headers(&self.default_headers)
761-
.compression(self.compression)
762760
}
763761

764762
pub async fn init_streaming(

0 commit comments

Comments
 (0)