diff options
author | David Lawrence <dkl@mozilla.com> | 2014-07-10 11:42:43 +0000 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-07-10 11:42:43 +0000 |
commit | 1a76a897caf17488ce48c1db49a995588850c534 (patch) | |
tree | a64bff27cf26e7c6d377816c738a427958a8cade | |
parent | Bug 856598 - checksetup.pl should exit(1) if it fails checks. r=gerv, a=sgreen. (diff) | |
download | bugzilla-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.pm | 1 |
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 }; |