http: don't add a new line for empty response