core: do not try to set response body to None

In the context of DELETE, it's more than likely than the response will
be empty. In such a case, setting response.body to None will fail.

Change-Id: I29fde6c448c935c40c768376a15e83337b951898
Merge "core: do not try to set response body to None"