| 370 | } |
| 371 | |
| 372 | void HTTPReq::UpdateHeader (const std::string& name, const std::string& value) |
| 373 | { |
| 374 | for (auto& it : headers) |
| 375 | if (boost::iequals(it.first, name)) |
| 376 | { |
| 377 | it.second = value; |
| 378 | break; |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | void HTTPReq::RemoveHeader (const std::string& name, const std::string& exempt) |
| 383 | { |
no outgoing calls