From 6b5be07158d617c81a32eb2368f3eb449956b7fa Mon Sep 17 00:00:00 2001 From: Constantin Nickel Date: Tue, 17 Sep 2019 00:29:16 +0200 Subject: [PATCH] Sync async/blocking `ClientBuilder::gzip` doc comment --- src/async_impl/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/async_impl/client.rs b/src/async_impl/client.rs index 6581f4e..9da4b6d 100644 --- a/src/async_impl/client.rs +++ b/src/async_impl/client.rs @@ -313,10 +313,10 @@ impl ClientBuilder { /// If auto gzip decompresson is turned on: /// - When sending a request and if the request's headers do not already contain /// an `Accept-Encoding` **and** `Range` values, the `Accept-Encoding` header is set to `gzip`. - /// The body is **not** automatically inflated. + /// The body is **not** automatically compressed. /// - When receiving a response, if it's headers contain a `Content-Encoding` value that /// equals to `gzip`, both values `Content-Encoding` and `Content-Length` are removed from the - /// headers' set. The body is automatically deinflated. + /// headers' set. The body is automatically decompressed. /// /// Default is enabled. pub fn gzip(mut self, enable: bool) -> ClientBuilder {