| 3916 | } |
| 3917 | |
| 3918 | inline std::string params_to_query_str(const Params ¶ms) { |
| 3919 | std::string query; |
| 3920 | |
| 3921 | for (auto it = params.begin(); it != params.end(); ++it) { |
| 3922 | if (it != params.begin()) { query += "&"; } |
| 3923 | query += it->first; |
| 3924 | query += "="; |
| 3925 | query += encode_query_param(it->second); |
| 3926 | } |
| 3927 | return query; |
| 3928 | } |
| 3929 | |
| 3930 | inline void parse_query_text(const std::string &s, Params ¶ms) { |
| 3931 | std::set<std::string> cache; |
no test coverage detected