aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-07-10 11:42:43 +0000
committerDavid Lawrence <dkl@mozilla.com>2014-07-10 11:42:43 +0000
commit1a76a897caf17488ce48c1db49a995588850c534 (patch)
treea64bff27cf26e7c6d377816c738a427958a8cade /Bugzilla
parentf0f51946bab6b9c85c5ebd6fc737538ce967af59 (diff)
downloadbugs-1a76a897caf17488ce48c1db49a995588850c534.tar
bugs-1a76a897caf17488ce48c1db49a995588850c534.tar.gz
bugs-1a76a897caf17488ce48c1db49a995588850c534.tar.bz2
bugs-1a76a897caf17488ce48c1db49a995588850c534.tar.xz
bugs-1a76a897caf17488ce48c1db49a995588850c534.zip
Bug 1036268: REST webservice should return http/404 for invalid methods
r=glob,a=glob
Diffstat (limited to 'Bugzilla')
-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
};