diff options
author | Kahrl <kahrl@gmx.net> | 2013-08-29 05:58:13 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-12-13 18:05:39 +0100 |
commit | b03135548bbd9bcb73d14b067b96ec913404dd5f (patch) | |
tree | 7638bb8a6372ab540e0e4783b79b9242005a9948 /src/httpfetch.h | |
parent | 0a903e69fbd9b19d8d8da0593f31dec5807af566 (diff) | |
download | minetest-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.h | 3 |
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 = ""; |