for (int i = 0; i < size; i++) {
outputBuffer.sendHeader(headers.getName(i), headers.getValue(i));
}
outputBuffer.endHeaders();
try {
outputBuffer.endRequest();
outputBuffer.flush();
outputBuffer.commit();
} catch (IOException ex) {
_logger.log(Level.SEVERE, "Exception in send response ", ex);
}