From 0c94dc395d2df875098ea9d1e7b39bf27db7310d Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 1 Jun 2007 19:35:06 +0000 Subject: - return DECLINED instead of NotFoundException --- pages/content.ecpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/content.ecpp b/pages/content.ecpp index 1390b08..61b8100 100644 --- a/pages/content.ecpp +++ b/pages/content.ecpp @@ -28,7 +28,7 @@ string path(request.getPathInfo()); FileCache::ptr_type f = LiveFileCache().get(USRDIR "/" + path); if (f.get() == 0) { - throw tnt::NotFoundException(request.getUrl()); + return DECLINED; } string ctime = tnt::HttpMessage::htdate(f->ctime()); string browserTime = request.getHeader(tnt::httpheader::ifModifiedSince); -- cgit v1.2.3