<BUG>writeLine("Connection: " + (iKeepAlive ? "Keep-Alive" : "close"));if (additionalHeaders != null)</BUG><CONTEXT>if (headers != null)writeLine(headers);writeLine("Date: " + new Date());writeLine("Content-Type: " + iContentType + "; charset=" + characterSet);writeLine("Server: " + serverInfo);<extra_id_0>for (String h : additionalHeaders)writeLine(h);}</CONTEXT>
if(contentEncoding != null && contentEncoding.length() > 0) {writeLine("Content-Encoding: " + contentEncoding);if (additionalHeaders != null)