diff options
author | Kim Alvefur <zash@zash.se> | 2017-07-07 20:30:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-07-07 20:30:52 +0200 |
commit | 41ea79ea5047fd3168263320362e8ee7094e0f75 (patch) | |
tree | 63555c99125c2670a91857c21c216c2300aa49d2 /net/http.lua | |
parent | 4590e4d9ee2a801805f168b52c1cc4ad67d7fb8d (diff) | |
download | prosody-41ea79ea5047fd3168263320362e8ee7094e0f75.tar.gz prosody-41ea79ea5047fd3168263320362e8ee7094e0f75.zip |
net.http: Expose defaults
Diffstat (limited to 'net/http.lua')
-rw-r--r-- | net/http.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |