From 85cef4cbe178af60e6e99e0a0daee2c75a182372 Mon Sep 17 00:00:00 2001
From: Ant Zucaro <azucaro@gmail.com>
Date: Tue, 27 Jan 2015 19:48:30 -0500
Subject: [PATCH] Set status code to 404 for the 404 page.

This fixes #1435.
---
 xonstat/views/exceptions.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xonstat/views/exceptions.py b/xonstat/views/exceptions.py
index 0cc9148..6d4c9a6 100644
--- a/xonstat/views/exceptions.py
+++ b/xonstat/views/exceptions.py
@@ -2,4 +2,5 @@ import logging
 import random
 
 def notfound(request):
+    request.response.status = 404
     return {'rand': int(random.random() * 100)}
-- 
2.39.5