summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-07-10 13:45:06 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-07-10 13:45:06 +0200
commit8209b52ddc2f33b2aada95c69c3679cde14f574c (patch)
treeb62b6bf0d3c78834b8c43d762e99d236060e39be /Bugzilla/WebService/Constants.pm
parent6a20061b95f6d7ec6260b1f86115ecd7016d5213 (diff)
downloadbugzilla-8209b52ddc2f33b2aada95c69c3679cde14f574c.tar.gz
bugzilla-8209b52ddc2f33b2aada95c69c3679cde14f574c.tar.xz
Bug 1036268: REST webservice should return http/404 for invalid methods
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-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 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
};