Flush OutputStream in HttpTemplate.send

When are the headers sent?