Mercurial > hg > orthanc
diff Core/RestApi/RestApi.cpp @ 1042:8d1845feb277
set cookies, not allowed methods, unauthorized in plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jul 2014 15:55:40 +0200 |
parents | f1ff2a2f06cd |
children | 00f9f36bcd94 |
line wrap: on
line diff
--- a/Core/RestApi/RestApi.cpp Thu Jul 17 14:14:15 2014 +0200 +++ b/Core/RestApi/RestApi.cpp Thu Jul 17 15:55:40 2014 +0200 @@ -192,7 +192,7 @@ LOG(INFO) << "REST method " << EnumerationToString(method) << " not allowed on: " << Toolbox::FlattenUri(uri); - output.SendMethodNotAllowedError(MethodsToString(methods)); + output.SendMethodNotAllowed(MethodsToString(methods)); return true; }