diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-30 09:50:59 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-30 09:50:59 +0100 |
commit | d65d38846d0f5bfc7092b0546c241fc4ee0ae85d (patch) | |
tree | 54185a97d0c7d08f7ec0616cc32377588ae50260 /spec/util_promise_spec.lua | |
parent | 5d4446cd13b3dd9900ebc169b2e7f2d032a8e6c9 (diff) | |
download | prosody-d65d38846d0f5bfc7092b0546c241fc4ee0ae85d.tar.gz prosody-d65d38846d0f5bfc7092b0546c241fc4ee0ae85d.zip |
mod_http: Allow modifying CORS header list via :provides API
E.g.
module:provides("http", {
cors = {
headers = {
Accept = true;
Expect = false;
};
};
route = { ... };
});
Case might be weird.
Diffstat (limited to 'spec/util_promise_spec.lua')
0 files changed, 0 insertions, 0 deletions