Set Content-Length for POST,PUT,PATCH