]> Sergey Matveev's repositories - public-inbox.git/blobdiff - public-inbox.cgi
examples/public-inbox.psgi: shorten to simplify
[public-inbox.git] / public-inbox.cgi
index 1fcc04fa195bcb18a318080fbad6ced743c72d71..4b74a62ae04f59710e32774e611d6e9d3b04cb71 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2014, Eric Wong <normalperson@yhbt.net> and all contributors
+# Copyright (C) 2014-2015 all contributors <meta@public-inbox.org>
 # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
+#
+# Enables using PublicInbox::WWW as a CGI script
 use strict;
 use warnings;
 use IO::Handle;
@@ -17,6 +19,7 @@ BEGIN {
 
        %HTTP_CODES = (
                200 => 'OK',
+               300 => 'Multiple Choices',
                301 => 'Moved Permanently',
                302 => 'Found',
                404 => 'Not Found',