mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 21:06:39 +01:00
correct detection of chunked response
This commit is contained in:
parent
daa3f8699b
commit
1ba5d25819
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ namespace http {
|
|||
auto it = headers.find("Transfer-Encoding");
|
||||
if (it == headers.end())
|
||||
return false;
|
||||
if (it->second.find("chunked") == std::string::npos)
|
||||
if (it->second.find("chunked") != std::string::npos)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue