summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Http.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/Http.h b/includes/Http.h
index 00db23a..f0651f7 100644
--- a/includes/Http.h
+++ b/includes/Http.h
@@ -19,6 +19,7 @@ const char * getStatusMsg(int httpStatus);
const char * getContentType(const String & extension);
typedef std::map<String, String> StringMap;
+typedef std::multimap<String, String> StringMultiMap;
typedef std::map<String, IO<Handle> > FileList;
struct Request {
@@ -26,7 +27,8 @@ struct Request {
String host;
String uri;
StringMap variables;
- StringMap headers;
+ StringMap cookies;
+ StringMap headers; // this needs to become a StringMultiMap
FileList files;
bool persistent;
bool upgrade;