about summary refs log tree commit diff stats
path: root/src/linit.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:17 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:42 -0800
commit3b44b9827d5e9c6554c5600c45d832d4e6eb50f8 (patch)
treee2fc984be141e2e4fa18fceae6c73814d23c5646 /src/linit.c
parentf7ab5dd291f302c0fb97a2be0a11a06ed2bb6661 (diff)
downloadteliva-3b44b9827d5e9c6554c5600c45d832d4e6eb50f8.tar.gz
basic http requests starting to work
In the process we're starting to load almost all of luasocket by
default. And everything is working as expected, no unpleasant surprises.
Diffstat (limited to 'src/linit.c')
-rw-r--r--src/linit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linit.c b/src/linit.c
index a3923e9..8a73824 100644
--- a/src/linit.c
+++ b/src/linit.c
@@ -24,6 +24,7 @@ static const luaL_Reg lualibs[] = {
   {LUA_MATHLIBNAME, luaopen_math},
   {LUA_CURSESLIBNAME, luaopen_curses},
   {LUA_SOCKETCORELIBNAME, luaopen_socket_core},
+  {LUA_MIMECORELIBNAME, luaopen_mime_core},
   {LUA_DBLIBNAME, luaopen_debug},
   {NULL, NULL}
 };