--- src.orig/play/server/PlayHandler.java 2010-05-11 22:32:30.000000000 -0500 +++ src/play/server/PlayHandler.java 2010-05-14 14:49:02.066615703 -0500 @@ -216,7 +216,7 @@ protected static void writeResponse(ChannelHandlerContext ctx, Response response, HttpResponse nettyResponse, HttpRequest nettyRequest) throws IOException { byte[] content = null; - final boolean keepAlive = isKeepAlive(nettyResponse); + final boolean keepAlive = isKeepAlive(nettyRequest); if (nettyRequest.getMethod().equals(HttpMethod.HEAD)) { content = new byte[0]; } else { @@ -264,7 +264,7 @@ is = (InputStream) obj; } - final boolean keepAlive = isKeepAlive(nettyResponse); + final boolean keepAlive = isKeepAlive(nettyRequest); if (file != null && file.isFile()) { try {