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 | 450544aad0a236e7ebcf3307e8fe8dbda683d775 (patch) | |
tree | 63555c99125c2670a91857c21c216c2300aa49d2 /net/http.lua | |
parent | 10d48f1bad15b74de952aa8ce51d04ad60861c64 (diff) | |
download | prosody-450544aad0a236e7ebcf3307e8fe8dbda683d775.tar.gz prosody-450544aad0a236e7ebcf3307e8fe8dbda683d775.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 |