net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
authorMatthew Wild <mwild1@gmail.com>
Thu, 11 Apr 2013 20:24:37 +0100
changeset 5464 712dbe1a0146
parent 5463 111953bfe767
child 5465 55784431ddba
net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
net/http.lua
--- a/net/http.lua	Thu Apr 11 20:01:03 2013 +0100
+++ b/net/http.lua	Thu Apr 11 20:24:37 2013 +0100
@@ -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");