Changeset

4006:32073a0fbcca

net.httpserver: Removed unused import and variables.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 05 Jan 2011 06:34:23 +0500
parents 4005:420e57319f89
children 4007:062b849ca088
files net/httpserver.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/httpserver.lua	Wed Jan 05 06:26:49 2011 +0500
+++ b/net/httpserver.lua	Wed Jan 05 06:34:23 2011 +0500
@@ -7,7 +7,6 @@
 --
 
 
-local socket = require "socket"
 local server = require "net.server"
 local url_parse = require "socket.url".parse;
 local httpstream_new = require "util.httpstream".new;
@@ -17,7 +16,6 @@
 local listener;
 
 local t_insert, t_concat = table.insert, table.concat;
-local s_match, s_gmatch = string.match, string.gmatch;
 local tonumber, tostring, pairs, ipairs, type = tonumber, tostring, pairs, ipairs, type;
 
 local urlencode = function (s) return s and (s:gsub("%W", function (c) return ("%%%02x"):format(c:byte()); end)); end