YAHC: fix determination of content length
YAHC: fix determination of content length

Without this, YAHC will return an error upon succesful PUT and DELETE (204
return code with Content-Length)

ikruglov/YAHC,ikruglov/YAHC