net.http.parser: Depend on util.http instead of net.http for urlencode
authorMatthew Wild <mwild1@gmail.com>
Thu, 11 Apr 2013 17:37:37 +0100
changeset 5460 274c10668fe8
parent 5459 3a821511b9ec
child 5461 67b674f6a299
net.http.parser: Depend on util.http instead of net.http for urlencode
net/http/parser.lua
--- a/net/http/parser.lua	Thu Apr 11 17:35:39 2013 +0100
+++ b/net/http/parser.lua	Thu Apr 11 17:37:37 2013 +0100
@@ -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("//+", "/")));