| 1 | // Aseprite Network Library |
|---|---|
| 2 | // Copyright (c) 2001-2015 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifdef HAVE_CONFIG_H |
| 8 | #include "config.h" |
| 9 | #endif |
| 10 | |
| 11 | #include "net/http_headers.h" |
| 12 | |
| 13 | namespace net { |
| 14 | |
| 15 | void HttpHeaders::setHeader(const std::string& name, |
| 16 | const std::string& value) |
| 17 | { |
| 18 | m_map[name] = value; |
| 19 | } |
| 20 | |
| 21 | } // namespace net |
| 22 |