| 68 | |
| 69 | |
| 70 | void NameValueCollection::set(const std::string& name, const std::string& value) |
| 71 | { |
| 72 | Iterator it = _map.find(name); |
| 73 | if (it != _map.end()) |
| 74 | it->second = value; |
| 75 | else |
| 76 | _map.insert(HeaderMap::ValueType(name, value)); |
| 77 | } |
| 78 | |
| 79 | |
| 80 | void NameValueCollection::add(const std::string& name, const std::string& value) |
no test coverage detected