diff options
Diffstat (limited to '')
-rw-r--r-- | src/httpfetch.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/httpfetch.h b/src/httpfetch.h index 50a4c93d8..c44c8d2d3 100644 --- a/src/httpfetch.h +++ b/src/httpfetch.h @@ -20,9 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef HTTPFETCH_HEADER #define HTTPFETCH_HEADER -#include <string> #include <vector> -#include <map> +#include "util/string.h" #include "config.h" // Can be used in place of "caller" in asynchronous transfers to discard result @@ -54,7 +53,7 @@ struct HTTPFetchRequest // POST fields. Fields are escaped properly. // If this is empty a GET request is done instead. - std::map<std::string, std::string> post_fields; + StringMap post_fields; // Raw POST data, overrides post_fields. std::string post_data; |