Merge "Set Last-Modified on MarkDown->HTML plugin pages"

This commit is contained in:
Edwin Kempin
2014-06-24 00:37:22 +00:00
committed by Gerrit Code Review

View File

@@ -452,6 +452,7 @@ class HttpPluginServlet extends HttpServlet
res.setContentType("text/html");
res.setCharacterEncoding("UTF-8");
res.setContentLength(html.length);
res.setDateHeader("Last-Modified", lastModifiedTime);
res.getOutputStream().write(html);
}