/*
*
*/
static ByteBuffer makeResponseHeaderBuffer(OriginResponse aRes, boolean aConnClose) {
Buf buf = new Buf();
buf.appendAll(aRes.statusLine);
buildHeaderBuffer(buf, aRes.headerList, aRes.headerInfo);
if (aConnClose) {
buf.appendAll(Const.S_CONNECTION, COLON_SP, Const.S_CLOSE, CRLF);
}
buf.append(CRLF);
return bufToByteBuf(buf);
}