Sync async/blocking ClientBuilder::gzip doc comment
				
					
				
			This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							23e8a4d58e
						
					
				
				
					commit
					6b5be07158
				
			| @@ -313,10 +313,10 @@ impl ClientBuilder { | |||||||
|     /// If auto gzip decompresson is turned on: |     /// If auto gzip decompresson is turned on: | ||||||
|     /// - When sending a request and if the request's headers do not already contain |     /// - 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`. |     ///   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 |     /// - 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 |     ///   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. |     /// Default is enabled. | ||||||
|     pub fn gzip(mut self, enable: bool) -> ClientBuilder { |     pub fn gzip(mut self, enable: bool) -> ClientBuilder { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user