1 #ifndef MSP_HTTP_UTILS_H_
2 #define MSP_HTTP_UTILS_H_
26 typedef std::map<std::string, std::string> Query;
28 std::string urlencode(const std::string &, EncodeLevel =SAFE);
29 std::string urlencode_plus(const std::string &, EncodeLevel =SAFE);
30 std::string urldecode(const std::string &);
31 Url parse_url(const std::string &);
32 std::string build_url(const Url &);
33 Query parse_query(const std::string &);
34 std::string build_query(const Query &);