# HG changeset patch # User Sebastien Jodogne # Date 1407399103 -7200 # Node ID f21f7783f9346310d6bc4a30287c83222ca0d5cd # Parent 060e8918d7a4e78b8ee8d4632ddf6e891eff6002 fix RestApiOutput diff -r 060e8918d7a4 -r f21f7783f934 Core/HttpServer/MongooseServer.cpp --- a/Core/HttpServer/MongooseServer.cpp Thu Aug 07 10:02:22 2014 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Thu Aug 07 10:11:43 2014 +0200 @@ -711,7 +711,7 @@ return (void*) ""; } } - + if (!found) { try diff -r 060e8918d7a4 -r f21f7783f934 Core/RestApi/RestApiOutput.cpp --- a/Core/RestApi/RestApiOutput.cpp Thu Aug 07 10:02:22 2014 +0200 +++ b/Core/RestApi/RestApiOutput.cpp Thu Aug 07 10:11:43 2014 +0200 @@ -49,10 +49,6 @@ RestApiOutput::~RestApiOutput() { - if (!alreadySent_) - { - output_.SendHeader(HttpStatus_400_BadRequest); - } } void RestApiOutput::CheckStatus()