diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-06-01 20:20:22 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-06-01 20:20:22 -0700 |
commit | 70d4af9cacce787fc33a1af7c3c884bb0d282b65 (patch) | |
tree | cefc880e856532324134f10c6db2472914a2e70c /includes | |
parent | 4ebd41591d89771a61f2b0ef4aa53cc228125e59 (diff) |
Fixing WSAECONNABORTED error, adding cookies support, fixing variables parsing.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Http.h | 4 |
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; |