From 8209b52ddc2f33b2aada95c69c3679cde14f574c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 10 Jul 2014 11:45:06 +0000 Subject: Bug 1036268: REST webservice should return http/404 for invalid methods --- Bugzilla/WebService/Constants.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/WebService/Constants.pm') diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index c6bbeb9bd..4d36b877f 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -242,6 +242,7 @@ use constant REST_STATUS_CODE_MAP => { 410 => STATUS_NOT_AUTHORIZED, 504 => STATUS_NOT_AUTHORIZED, 505 => STATUS_NOT_AUTHORIZED, + 32614 => STATUS_NOT_FOUND, _default => STATUS_BAD_REQUEST }; -- cgit v1.2.3-24-g4f1b