equal
deleted
inserted
replaced
3 local traceback = debug.traceback; |
3 local traceback = debug.traceback; |
4 |
4 |
5 local _ENV = nil; |
5 local _ENV = nil; |
6 |
6 |
7 function fail() |
7 function fail() |
8 log("error", "Attempt to use legacy HTTP API. For more info see http://prosody.im/doc/developers/legacy_http"); |
8 log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http"); |
9 log("error", "Legacy HTTP API usage, %s", traceback("", 2)); |
9 log("error", "Legacy HTTP API usage, %s", traceback("", 2)); |
10 end |
10 end |
11 |
11 |
12 return { |
12 return { |
13 new = fail; |
13 new = fail; |