Changeset

5460:274c10668fe8

net.http.parser: Depend on util.http instead of net.http for urlencode
author Matthew Wild <mwild1@gmail.com>
date Thu, 11 Apr 2013 17:37:37 +0100
parents 5459:3a821511b9ec
children 5461:67b674f6a299
files net/http/parser.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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("//+", "/")));