Return HTTP 405 when a non-supported method is requested