summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-06-01 19:35:06 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-06-01 19:35:06 +0000
commit0c94dc395d2df875098ea9d1e7b39bf27db7310d (patch)
tree2c5378cfa904ecd4d08559af9480259dfa81084b /pages
parent4e837e9cbb00e90f0f5b83058ab3c18d1115dc10 (diff)
downloadvdr-plugin-live-0c94dc395d2df875098ea9d1e7b39bf27db7310d.tar.gz
vdr-plugin-live-0c94dc395d2df875098ea9d1e7b39bf27db7310d.tar.bz2
- return DECLINED instead of NotFoundException
Diffstat (limited to 'pages')
-rw-r--r--pages/content.ecpp2
1 files changed, 1 insertions, 1 deletions
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);