diff options
Diffstat (limited to 'src/application/mystic')
-rw-r--r-- | src/application/mystic/forum/utils/RequestUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/mystic/forum/utils/RequestUtils.php b/src/application/mystic/forum/utils/RequestUtils.php index 796a476..5c6a485 100644 --- a/src/application/mystic/forum/utils/RequestUtils.php +++ b/src/application/mystic/forum/utils/RequestUtils.php @@ -23,7 +23,7 @@ final class RequestUtils { public static function ensureRequestMethod(string $method): void { if (!self::isRequestMethod($method)) { - http_response_code(415); + http_response_code(405); Messaging::error("Invalid request method " . self::getRequestMethod()); exit; } |