Mercurial > prosody-modules
diff mod_compat_roles/mod_compat_roles.lua @ 5396:ac7c5669e5f5
mod_http_oauth2: Return status 405 for GET to endpoints without GET handler
Endpoints that only do POST have the weird side effect that a GET query
to them return 404, which doesn't quite feel like the right semantics.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Apr 2023 17:04:55 +0200 |
parents | f03f4ec859a3 |
children | 825c6fb76c48 |