| 134 | // ---------------------------------------------------------------------------------------- |
| 135 | |
| 136 | bool http_client::is_header_set(const std::string& header_name) const |
| 137 | { |
| 138 | stringmap::const_iterator ci = headers.find(header_name); |
| 139 | return ci != headers.end() && !ci->second.empty(); |
| 140 | } |
| 141 | |
| 142 | // ---------------------------------------------------------------------------------------- |
| 143 |