Ensuring PUT and DELETE methods are idempotent.