If `data` is empty (means `""` - empty string), the else statement set the content-length to `0`