| 106 | // ---------------------------------------------------------------------------------------- |
| 107 | |
| 108 | std::string http_client::get_header(const std::string& header_name) const |
| 109 | { |
| 110 | stringmap::const_iterator ci = headers.find(header_name); |
| 111 | return ci != headers.end() ? ci->second : std::string(); |
| 112 | } |
| 113 | |
| 114 | // ---------------------------------------------------------------------------------------- |
| 115 |