# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1499452252 -7200
# Node ID bc2bcfa63b4382d0bf537131c0a80fd8552207a2
# Parent  3accfae9194612e29cc04bc2343f2189c2382ec0
net.http: Expose defaults

diff -r 3accfae91946 -r bc2bcfa63b43 net/http.lua
--- a/net/http.lua	Fri Jul 07 20:16:00 2017 +0200
+++ b/net/http.lua	Fri Jul 07 20:30:52 2017 +0200
@@ -245,6 +245,7 @@
 	request = function (u, ex, callback)
 		return default_http:request(u, ex, callback);
 	end;
+	default = default_http;
 	new = new;
 	events = default_http.events;
 	-- COMPAT