support PUT/DELETE action.