From 5862c92aa42f3066486d125a546f5bfc6d2763be Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 21 Apr 2017 16:42:25 +0100 Subject: net.http: Add request.url, which is the original full URL as a string --- net/http.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net') diff --git a/net/http.lua b/net/http.lua index 6d32b110..d820e471 100644 --- a/net/http.lua +++ b/net/http.lua @@ -125,6 +125,7 @@ end 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); -- cgit v1.2.3