net.http.parser: Depend on util.http instead of net.http for urlencode
authorMatthew Wild <mwild1@gmail.com>
Thu, 11 Apr 2013 16:37:37 +0000 (17:37 +0100)
committerMatthew Wild <mwild1@gmail.com>
Thu, 11 Apr 2013 16:37:37 +0000 (17:37 +0100)
net/http/parser.lua

index 2545b5ac41457b88e345f5a6743650052e43ff40..45a8b1682991a644445cafbac52e052e621bfc2d 100644 (file)
@@ -2,7 +2,7 @@
 local tonumber = tonumber;
 local assert = assert;
 local url_parse = require "socket.url".parse;
-local urldecode = require "net.http".urldecode;
+local urldecode = require "util.http".urldecode;
 
 local function preprocess_path(path)
        path = urldecode((path:gsub("//+", "/")));