From: mike castleman Date: Sat, 9 Jan 2010 20:50:32 +0000 (-0500) Subject: 404 when couldn't in fact find X-Git-Tag: msva-perl/0.1~42 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=549e01682a4ae59c7e1f83f7309f5cc9627d4327;p=monkeysphere-validation-agent.git 404 when couldn't in fact find --- 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) ); } }