| 391 | } |
| 392 | |
| 393 | std::string HTTPReq::GetHeader (std::string_view name) const |
| 394 | { |
| 395 | for (auto& it : headers) |
| 396 | if (boost::iequals(it.first, name)) |
| 397 | return it.second; |
| 398 | return ""; |
| 399 | } |
| 400 | |
| 401 | size_t HTTPReq::GetNumHeaders (std::string_view name) const |
| 402 | { |
no outgoing calls