Software /
code /
prosody
Changeset
13695:a727ea7a68eb 13.0
net.httpserver: Remove obsolete API
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Feb 2025 14:50:22 +0000 |
parents | 13694:293533fa5667 |
children | 13696:758818e21e01 13697:4b4fd6ef8744 |
files | net/httpserver.lua |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/net/httpserver.lua Fri Feb 14 14:47:11 2025 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ --- COMPAT w/pre-0.9 -local log = require "prosody.util.logger".init("net.httpserver"); -local traceback = debug.traceback; - -local _ENV = nil; --- luacheck: std none - -local function fail() - log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http"); - log("error", "Legacy HTTP API usage, %s", traceback("", 2)); -end - -return { - new = fail; - new_from_config = fail; - set_default_handler = fail; -};