mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-14 11:06:16 +05:00
Wtf
This commit is contained in:
parent
f1a3507ded
commit
c4e1d2a975
@ -220,7 +220,7 @@ local function checkContentLength(url)
|
||||
_, _, responseData = handle:response()
|
||||
until responseData or computer.uptime() >= deadline
|
||||
|
||||
if responseData and responseData["Content-Length"] then
|
||||
if responseData and responseData["Content-Length"] and responseData["Content-Length"][1] then
|
||||
if tonumber(responseData["Content-Length"][1]) <= 10240 then
|
||||
return handle
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user