fixes a body decode error when there was no content-type but body wasn't set to None (it was set to empty string).