From 1a76a897caf17488ce48c1db49a995588850c534 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 10 Jul 2014 11:42:43 +0000 Subject: Bug 1036268: REST webservice should return http/404 for invalid methods r=glob,a=glob --- Bugzilla/WebService/Constants.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/WebService') diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index bedf66298..2c21de15e 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -246,6 +246,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