#6338: No need to wait 10s when content is 0
Merge pull request #6364 from dotCMS/issue-6338-error-uploading-files-webdav

#6338: No need to wait 10s when content is 0