Return HTTP 405 Method Not Allowed where appropriate.