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 20ae0c7 commit 1ced339Copy full SHA for 1ced339
decompression-plz/src/state.rs
@@ -40,7 +40,9 @@ where
40
} else if ds.content_encoding_is_some() {
41
let encodings = ds.get_content_encoding();
42
Self::ContentEncoding(ds, encodings)
43
- } else if ds.extra_body_is_some() {
+ } else if ds.extra_body_is_some()
44
+ || ds.is_transfer_type_close()
45
+ {
46
Self::UpdateContentLength(ds)
47
} else {
48
let body = ds.take_main_body();
0 commit comments