From 07ca080e07a5e80dd6b4349960b6ca01547d4f21 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Thu, 11 Apr 2013 17:37:37 +0100
Subject: net.http.parser: Depend on util.http instead of net.http for
 urlencode

---
 net/http/parser.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'net/http')

diff --git a/net/http/parser.lua b/net/http/parser.lua
index 2545b5ac..45a8b168 100644
--- a/net/http/parser.lua
+++ b/net/http/parser.lua
@@ -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("//+", "/")));
-- 
cgit v1.2.3