removes content-length header from create & update as not needed for ES