| 346 | // ---------------------------------------------------------------------------------------- |
| 347 | |
| 348 | std::string http_client::strtolower(const std::string& in) const |
| 349 | { |
| 350 | std::string retVal = in; |
| 351 | |
| 352 | for (std::string::iterator ii = retVal.begin(); ii != retVal.end(); ++ii) |
| 353 | { |
| 354 | *ii = ::tolower(*ii); |
| 355 | } |
| 356 | |
| 357 | return retVal; |
| 358 | } |
| 359 | |
| 360 | // ---------------------------------------------------------------------------------------- |
| 361 |