feat: add auto_encoding
and improve send_compressed
behavior
#2058
+324
−5
auto_encoding
and improve send_compressed
behavior
#2058