mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-10-01 21:58:59 +02:00
We have actions where only certain HTTP methods, e.g. POST are allowed but they are not restricted yet. Controller::assertHttpMethod() takes a number of allowed HTTP methods and responds with HTTP 405 in case the current request's method is not one of the given methods.