diff options
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |