diff --git a/HTTP.cpp b/HTTP.cpp index 20f07448..4a0286a7 100644 --- a/HTTP.cpp +++ b/HTTP.cpp @@ -279,10 +279,7 @@ namespace http { } bool HTTPRes::is_gzipped() { - auto it = headers.find("x-i2p-gzip"); - if (it == headers.end()) - return true; /* i2p-specific header */ - it = headers.find("Content-Encoding"); + auto it = headers.find("Content-Encoding"); if (it == headers.end()) return false; /* no header */ if (it->second.find("gzip") != std::string::npos)