[Pkg-privacy-commits] [msva-perl] 16/356: 404 when couldn't in fact find

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit 549e01682a4ae59c7e1f83f7309f5cc9627d4327
Author: mike castleman <m at mlcastle.net>
Date:   Sat Jan 9 15:50:32 2010 -0500

    404 when couldn't in fact find
---
 msva | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/msva b/msva
index 5217624..d1a2281 100755
--- a/msva
+++ b/msva
@@ -32,7 +32,7 @@ use strict;
       printf("HTTP/1.0 %s\r\nContent-Type: application/json\r\n\r\n%s", $status, to_json ($object));
 
     } else {
-      printf("HTTP/1.0 400 Bad Request -- not handled by Monkeysphere validation agent\r\nContent-Type: text/plain\r\n\r\nBad Request -- the path:\r\n   %s\r\nis not handled by the MonkeySphere validation agent.\r\nPlease try one of the following paths instead:\r\n\r\n%s\r\n", $path, ' * '.join("\r\n * ", keys %dispatch) );
+      printf("HTTP/1.0 404 Not Found -- not handled by Monkeysphere validation agent\r\nContent-Type: text/plain\r\n\r\nHTTP/1.0 404 Not Found -- the path:\r\n   %s\r\nis not handled by the MonkeySphere validation agent.\r\nPlease try one of the following paths instead:\r\n\r\n%s\r\n", $path, ' * '.join("\r\n * ", keys %dispatch) );
     }
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list