comparison 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
comparison
equal deleted inserted replaced
1041:2c49b7dffcec 1042:8d1845feb277
190 else 190 else
191 { 191 {
192 LOG(INFO) << "REST method " << EnumerationToString(method) 192 LOG(INFO) << "REST method " << EnumerationToString(method)
193 << " not allowed on: " << Toolbox::FlattenUri(uri); 193 << " not allowed on: " << Toolbox::FlattenUri(uri);
194 194
195 output.SendMethodNotAllowedError(MethodsToString(methods)); 195 output.SendMethodNotAllowed(MethodsToString(methods));
196 196
197 return true; 197 return true;
198 } 198 }
199 } 199 }
200 200