Backport fix for httpDelete to 1.7

It seems to fix a testcase in [vdirsyncer](https://github.com/untitaker/vdirsyncer) when testing against ownCloud, at least for me this is good enough validation.