mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
added content-encoding support to h2
This commit is contained in:
@@ -212,6 +212,7 @@ enum Decoder {
|
||||
Identity,
|
||||
}
|
||||
|
||||
// should go after write::GzDecoder get implemented
|
||||
#[derive(Debug)]
|
||||
struct Wrapper {
|
||||
buf: BytesMut
|
||||
@@ -247,6 +248,7 @@ impl io::Write for BytesWriter {
|
||||
}
|
||||
|
||||
|
||||
// should go after brotli2::write::BrotliDecoder::get_mut get implemented
|
||||
#[derive(Debug)]
|
||||
struct WrapperRc {
|
||||
buf: Rc<RefCell<BytesMut>>,
|
||||
|
Reference in New Issue
Block a user