summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-07-10 13:42:43 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-07-10 13:42:43 +0200
commit1a76a897caf17488ce48c1db49a995588850c534 (patch)
treea64bff27cf26e7c6d377816c738a427958a8cade /Bugzilla/WebService
parentf0f51946bab6b9c85c5ebd6fc737538ce967af59 (diff)
downloadbugzilla-1a76a897caf17488ce48c1db49a995588850c534.tar.gz
bugzilla-1a76a897caf17488ce48c1db49a995588850c534.tar.xz
Bug 1036268: REST webservice should return http/404 for invalid methods
r=glob,a=glob
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Constants.pm1
1 files changed, 1 insertions, 0 deletions
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
};