Merge "Set Last-Modified on MarkDown->HTML plugin pages"
This commit is contained in:
commit
940b34bc3f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user