diff options
author | Mark Sapiro <msapiro@value.net> | 2011-02-05 11:06:32 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2011-02-05 11:06:32 -0800 |
commit | 2e3541209287d5684d1843401d01c378c92f7d17 (patch) | |
tree | eb5f1dbe24e66f65f204ce014554e00ee4532ce8 /Mailman/Cgi/private.py | |
parent | 675ecfeef586b060d88dfcf8cced389b8fcbf7a7 (diff) | |
download | mailman2-2e3541209287d5684d1843401d01c378c92f7d17.tar.gz mailman2-2e3541209287d5684d1843401d01c378c92f7d17.tar.xz mailman2-2e3541209287d5684d1843401d01c378c92f7d17.zip |
Issue an HTTP 404 status for private archive file not found.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/private.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index 00823959..8fca3ad7 100644 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -185,6 +185,7 @@ def main(): msg = _('Private archive file not found') doc.SetTitle(msg) doc.AddItem(Header(2, msg)) + print 'Status: 404 Not Found' print doc.Format() syslog('error', 'Private archive file not found: %s', true_filename) else: |