aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-11 20:24:37 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-11 20:24:37 +0100
commit666ffa216867ac5db04c24280fa37ae843d73fff (patch)
tree704cb2706f087b33fb702ac8d3232886115b0c5b
parent4c333cb417474a8d787b50129c1e7d7f765f8de1 (diff)
downloadprosody-666ffa216867ac5db04c24280fa37ae843d73fff.tar.gz
prosody-666ffa216867ac5db04c24280fa37ae843d73fff.zip
net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
-rw-r--r--net/http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua
index 516afe58..b3bd5a67 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -9,7 +9,7 @@
local socket = require "socket"
local b64 = require "util.encodings".base64.encode;
local url = require "socket.url"
-local httpstream_new = require "util.httpstream".new;
+local httpstream_new = require "net.http.parser".new;
local util_http = require "util.http";
local ssl_available = pcall(require, "ssl");