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