Object client adds content-length if PUT is empty

Add content-length=0 header to a PUT request if the uploaded object is empty,
otherwise the server would repond with 411.

Fixes: bug #1192176
Change-Id: Ifdd4aefa8ff38ac1ee72607d6ffd128ca315bf44
1 file changed