Module: check_mk
Branch: master
Commit: 964f7203c3f467bd8770397947632a2a7435237b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=964f7203c3f467…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 29 15:41:45 2016 +0100
Do not create a HTTP 404 in case of missing Livestatus data anymore
---
web/htdocs/index.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index d9de6d5..46b4766 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -157,8 +157,6 @@ def handler(req, fields = None, is_profiling = False):
# Some exception need to set a specific HTTP status code
if ty == MKUnauthenticatedException:
response_code = apache.HTTP_UNAUTHORIZED
- elif ty == livestatus.MKLivestatusNotFoundError:
- response_code = apache.HTTP_NOT_FOUND
elif ty == livestatus.MKLivestatusException:
response_code = apache.HTTP_BAD_GATEWAY