diff options
Diffstat (limited to 'src/main/java/com/gitblit/servlet/PagesServlet.java')
-rw-r--r-- | src/main/java/com/gitblit/servlet/PagesServlet.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/servlet/PagesServlet.java b/src/main/java/com/gitblit/servlet/PagesServlet.java index 6f6d6502..1473e966 100644 --- a/src/main/java/com/gitblit/servlet/PagesServlet.java +++ b/src/main/java/com/gitblit/servlet/PagesServlet.java @@ -97,13 +97,13 @@ public class PagesServlet extends RawServlet { } @Override - protected void streamFromRepo(HttpServletResponse response, Repository repository, + protected boolean streamFromRepo(HttpServletRequest request, HttpServletResponse response, Repository repository, RevCommit commit, String requestedPath) throws IOException { response.setDateHeader("Last-Modified", JGitUtils.getCommitDate(commit).getTime()); response.setHeader("Cache-Control", "public, max-age=3600, must-revalidate"); - super.streamFromRepo(response, repository, commit, requestedPath); + return super.streamFromRepo(request, response, repository, commit, requestedPath); } @Override |