return HTTP 405 for unsupported request methods