aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_async_spec.lua
diff options
context:
space:
mode:
authorJonas Schäfer <jonas@wielicki.name>2021-10-19 16:37:32 +0200
committerJonas Schäfer <jonas@wielicki.name>2021-10-19 16:37:32 +0200
commit3e55057a8574af83e42ec96041283111e34ef7d4 (patch)
treef6fc6c61d3b58107e8479cdab96fcf19fa3572d7 /spec/util_async_spec.lua
parentb6d312547e366147860b5eb8e30b3dfd01df297f (diff)
downloadprosody-3e55057a8574af83e42ec96041283111e34ef7d4.tar.gz
prosody-3e55057a8574af83e42ec96041283111e34ef7d4.zip
mod_http_file_share: return 401 instead of 403 if authentication failed
This is as per the HTTP standards [1]. Thankfully, the REQUIRED www-authenticate header is already generated by the code. [1]: https://datatracker.ietf.org/doc/html/rfc7235#section-3.1
Diffstat (limited to 'spec/util_async_spec.lua')
0 files changed, 0 insertions, 0 deletions