我正在与一个服务器连接,该服务器要求发送给它的数据使用Deflate算法(霍夫曼编码+LZ77)进行压缩,并且还发送我需要Inflate的数据.我知道Python包含Zlib,并且Zlib中的C库支持对Inflate和Deflate的调用,但这些显然不是由PythonZlib模块提供的。它确实提供了Compress和Decompress,但是当我调用如下电话时:result_data=zlib.decompress(base64_decoded_compressed_string)我收到以下错误:Error-3whiledecompressingdata:incorrectheader