summaryrefslogtreecommitdiff
path: root/src/http.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.hh')
-rw-r--r--src/http.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http.hh b/src/http.hh
index 58bfb92..c1e9e3b 100644
--- a/src/http.hh
+++ b/src/http.hh
@@ -1,6 +1,7 @@
#ifndef HTTP_HH
#define HTTP_HH
+#include <map>
#include <string>
namespace stuff {
@@ -8,6 +9,9 @@ namespace stuff {
class Http {
public:
static void response(unsigned int status, const std::string& content);
+ static void response(unsigned int status,
+ const std::map<std::string,std::string>& headers,
+ const std::string& content);
private:
Http() = delete;