function wget(url)
local R=component.internet.request(url)
repeat
coroutine.yield()
until R.finishConnect()
S=""
ns = R.read(2048)
S = S .. (ns or "")
until not ns
return S
end