16 std::string
const &
Header::Get(std::string
const &key)
const {
17 std::map<std::string, std::string>::const_iterator it = m_headers.find(key);
21 void Header::Set(std::string
const &key, std::string
const &value) {
22 if (m_headers.find(key) == m_headers.end()) {
25 m_headers[key] = value;
28 void Header::Add(std::string
const &key, std::string
const &value) {
29 if (m_headers.find(key) != m_headers.end()) {
32 m_headers[key] = value;
36 if (m_headers.find(key) == m_headers.end()) {