# HG changeset patch # User Matthew Wild # Date 1365698257 -3600 # Node ID 274c10668fe80be754f19ba858fdb4a3c35beb62 # Parent 3a821511b9ecf9a8bffb68bf97dab09507bdc54e net.http.parser: Depend on util.http instead of net.http for urlencode diff -r 3a821511b9ec -r 274c10668fe8 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("//+", "/")));