From 41ea79ea5047fd3168263320362e8ee7094e0f75 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 7 Jul 2017 20:30:52 +0200 Subject: net.http: Expose defaults --- net/http.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net/http.lua') diff --git a/net/http.lua b/net/http.lua index cce363ae..0d14e526 100644 --- a/net/http.lua +++ b/net/http.lua @@ -245,6 +245,7 @@ return { request = function (u, ex, callback) return default_http:request(u, ex, callback); end; + default = default_http; new = new; events = default_http.events; -- COMPAT -- cgit v1.2.3