mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
* i2p::util::http::GetHttpContent() : use std::transform instead boost
This commit is contained in:
parent
d312d753e9
commit
33a33e3c71
2
util.cpp
2
util.cpp
|
@ -81,7 +81,7 @@ namespace http
|
|||
if (colon != std::string::npos)
|
||||
{
|
||||
std::string field = header.substr (0, colon);
|
||||
boost::to_lower (field);
|
||||
std::transform(field.begin(), field.end(), field.begin(), ::tolower);
|
||||
if (field == i2p::util::http::TRANSFER_ENCODING)
|
||||
isChunked = (header.find ("chunked", colon + 1) != std::string::npos);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue