aboutsummaryrefslogtreecommitdiff
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
parentBug 856598 - checksetup.pl should exit(1) if it fails checks. r=gerv, a=sgreen. (diff)
downloadbugzilla-1a76a897caf17488ce48c1db49a995588850c534.tar.gz
bugzilla-1a76a897caf17488ce48c1db49a995588850c534.tar.bz2
bugzilla-1a76a897caf17488ce48c1db49a995588850c534.zip
Bug 1036268: REST webservice should return http/404 for invalid methods
r=glob,a=glob
-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
};