cli put sets content-length if it can