summaryrefslogtreecommitdiff
path: root/src/httpfetch.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-08-29 05:58:13 +0200
committerKahrl <kahrl@gmx.net>2013-12-13 18:05:39 +0100
commitb03135548bbd9bcb73d14b067b96ec913404dd5f (patch)
tree7638bb8a6372ab540e0e4783b79b9242005a9948 /src/httpfetch.h
parent0a903e69fbd9b19d8d8da0593f31dec5807af566 (diff)
downloadminetest-b03135548bbd9bcb73d14b067b96ec913404dd5f.tar.gz
minetest-b03135548bbd9bcb73d14b067b96ec913404dd5f.tar.bz2
minetest-b03135548bbd9bcb73d14b067b96ec913404dd5f.zip
Use httpfetch_async in serverlist announce code
Diffstat (limited to 'src/httpfetch.h')
-rw-r--r--src/httpfetch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/httpfetch.h b/src/httpfetch.h
index 56a198baf..6eb01fe79 100644
--- a/src/httpfetch.h
+++ b/src/httpfetch.h
@@ -54,6 +54,9 @@ struct HTTPFetchRequest
// If not empty, should contain entries such as "Accept: text/html"
std::vector<std::string> extra_headers;
+ //useragent to use
+ std::string useragent;
+
HTTPFetchRequest()
{
url = "";