net/http.lua
changeset 8118 375cf924fce1
parent 8117 12df41a5a4b1
child 8124 a33a87f13155
child 8198 3accfae91946
--- a/net/http.lua	Fri Apr 21 16:42:06 2017 +0100
+++ b/net/http.lua	Fri Apr 21 16:42:25 2017 +0100
@@ -125,6 +125,7 @@
 
 local function request(self, u, ex, callback)
 	local req = url.parse(u);
+	req.url = u;
 
 	if not (req and req.host) then
 		callback("invalid-url", 0, req);