aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorame <[email protected]>2024-02-21 10:41:42 -0600
committerame <[email protected]>2024-02-21 10:41:42 -0600
commit2715243f86a4afe8e7e1f512899e96e5f9a8bf2a (patch)
tree758da16000ef2d8450c261c1c95c9b347de59a54 /tests
parentcfbd9fed6d46f27ff2802c86b03b39c386636188 (diff)
fixed reading and some file stuff
Diffstat (limited to 'tests')
-rw-r--r--tests/net.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/net.lua b/tests/net.lua
index b115f0e..2e809af 100644
--- a/tests/net.lua
+++ b/tests/net.lua
@@ -38,6 +38,10 @@ llib.net.listen(
--_G.llib.io.pprint(_G._Go)
--_G.llib.io.pprint(_G.wo.crypto.md5("55"))
--_G.llib.io.pprint(req)
+ --print(req.partial)
+ --_G.llib.io.pprint(_G.llib.io.readfile(".gitignore"))
+ --print(req._bytes)
+ res:send(_G.llib.io.readfile("llib.dll"))
end)
server:GET("/aa", function(res, req)