mirror of https://github.com/bjc/prosody
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
|
14 years ago
|
-- COMPAT w/pre-0.9
|
||
|
|
local log = require "util.logger".init("net.httpserver");
|
||
|
|
local traceback = debug.traceback;
|
||
|
|
|
||
|
|
module "httpserver"
|
||
|
|
|
||
|
|
function fail()
|
||
|
|
log("error", "Attempt to use legacy HTTP API. For more info see http://prosody.im/doc/developers/legacy_http");
|
||
|
|
log("error", "Legacy HTTP API usage, %s", traceback("", 2));
|
||
|
|
end
|
||
|
|
|
||
|
|
new, new_from_config = fail, fail;
|
||
|
|
set_default_handler = fail;
|
||
|
|
|
||
|
|
return _M;
|