diff options
author | Kim Alvefur <zash@zash.se> | 2020-08-01 18:41:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-08-01 18:41:30 +0200 |
commit | 933c04882934fdc8633c93e706c8b28c977f776e (patch) | |
tree | 9aae09199af4f2ade66a55c9904b9f9510c13e95 /spec/util_dataforms_spec.lua | |
parent | 91d2ab91086d2aebcbc4d47a5bce05c6cd3abdcb (diff) | |
download | prosody-933c04882934fdc8633c93e706c8b28c977f776e.tar.gz prosody-933c04882934fdc8633c93e706c8b28c977f776e.zip |
mod_http: Add way to signal that a module supports streaming uploads
Fixes #726
API:
module:provides("http", {
streaming_uploads = true;
route = {
PUT = function (event)
event.request.body_sink = io.tmpfile();
return true;
end
}
})
Diffstat (limited to 'spec/util_dataforms_spec.lua')
0 files changed, 0 insertions, 0 deletions