Authentication Required

Should Nuxeo CMIS return a HTTP Status 404 for an object (repository) that does not exist?

Ran the following command which attempts to retrieve repository information on a non-existent repository named “foobar”. Nuxeo CMIS returns a HTTP Status 400 invalidArgument. Should a HTTP Status 404 objectNotFound be returned instead for an object (repository) that does not exist?

HTTP Status 400 - invalidArgument

No such repository: foobar

org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: No such repository: foobar

at org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory.getService(NuxeoCmisServiceFactory.java:65)
at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:213)
at
...
...`