proper fix for builtin broken http.get

This commit is contained in:
kepler155c@gmail.com
2020-05-28 20:10:01 -06:00
parent a7069f7ea8
commit 7b225a7747
2 changed files with 36 additions and 1 deletions

View File

@@ -536,7 +536,7 @@ end
--[[ loading and running functions ]] --
function Util.httpGet(url, headers, isBinary)
local h, msg = http.get(url, headers, isBinary)
local h, msg = http.safeGet(url, headers, isBinary)
if h then
local contents = h.readAll()
h.close()