aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-07 20:30:52 +0200
committerKim Alvefur <zash@zash.se>2017-07-07 20:30:52 +0200
commit450544aad0a236e7ebcf3307e8fe8dbda683d775 (patch)
tree63555c99125c2670a91857c21c216c2300aa49d2
parent10d48f1bad15b74de952aa8ce51d04ad60861c64 (diff)
downloadprosody-450544aad0a236e7ebcf3307e8fe8dbda683d775.tar.gz
prosody-450544aad0a236e7ebcf3307e8fe8dbda683d775.zip
net.http: Expose defaults
-rw-r--r--net/http.lua1
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