comparison Core/HttpServer/MongooseServer.cpp @ 1823:0ef4e6e66b56

"Origin" metadata for the instances
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2015 10:32:54 +0100
parents 4fc502d469f4
children b1291df2f780
comparison
equal deleted inserted replaced
1822:9ed9458aa44f 1823:0ef4e6e66b56
725 725
726 try 726 try
727 { 727 {
728 if (that->HasHandler()) 728 if (that->HasHandler())
729 { 729 {
730 found = that->GetHandler().Handle(output, RequestOrigin_Http, remoteIp, username.c_str(), 730 found = that->GetHandler().Handle(output, RequestOrigin_RestApi, remoteIp, username.c_str(),
731 method, uri, headers, argumentsGET, body.c_str(), body.size()); 731 method, uri, headers, argumentsGET, body.c_str(), body.size());
732 } 732 }
733 } 733 }
734 catch (boost::bad_lexical_cast&) 734 catch (boost::bad_lexical_cast&)
735 { 735 {