summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'http.h')
-rw-r--r--http.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/http.h b/http.h
index ef6e43c..29add9a 100644
--- a/http.h
+++ b/http.h
@@ -7,11 +7,14 @@
#include <string>
#include <map>
-typedef std::map<std::string, std::string> HTTPHeaders;
+typedef std::map<std::string, std::string> stringmap;
+typedef stringmap HTTPHeaders;
+typedef stringmap HTTPQuery;
class HTTPRequest {
public:
std::string type, path, httpver;
+ HTTPQuery query;
HTTPHeaders headers;
HTTPRequest(std::istream& is);
static void url_decode(std::string& str);