Commit 1a76a897 authored by David Lawrence's avatar David Lawrence

Bug 1036268: REST webservice should return http/404 for invalid methods

r=glob,a=glob
parent f0f51946
......@@ -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
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment