We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a3cf1 commit 5a9a26bCopy full SHA for 5a9a26b
rust-runtime/inlineable/src/client_request_compression.rs
@@ -128,7 +128,11 @@ impl Intercept for RequestCompressionInterceptor {
128
// we check to see if the data is big enough to make compression worthwhile.
129
if let Some(known_size) = http_body::Body::size_hint(request.body()).exact() {
130
if known_size < options.min_compression_size_bytes() as u64 {
131
- tracing::trace!("request body is below minimum size and will not be compressed");
+ tracing::trace!(
132
+ min_compression_size_bytes = options.min_compression_size_bytes(),
133
+ known_size,
134
+ "request body is below minimum size and will not be compressed"
135
+ );
136
return Ok(());
137
}
138
tracing::trace!("compressing non-streaming request body...")
0 commit comments