aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_http.cpp
AgeCommit message (Collapse)Author
2016-03-03Require minetest.request_http_api to be called from the mod's main scopeJeija
Fixes #3764
2016-02-22Add Lua interface to HTTPFetchRequestJeija
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.