Software /
code /
prosody
Diff
net/http.lua @ 5464:712dbe1a0146
net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 11 Apr 2013 20:24:37 +0100 |
parent | 5458:84162b81c863 |
child | 5466:e3b9dc9dd940 |
line wrap: on
line diff
--- 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");