# HG changeset patch # User Sebastien Jodogne # Date 1461588113 -7200 # Node ID 3fcea6dc151d0d4aa95906292120884c02cefaeb # Parent 9f09a20e41e2eb00dcef45456644b241371d890e fix diff -r 9f09a20e41e2 -r 3fcea6dc151d Core/HttpServer/StringHttpOutput.cpp --- a/Core/HttpServer/StringHttpOutput.cpp Mon Apr 25 14:31:19 2016 +0200 +++ b/Core/HttpServer/StringHttpOutput.cpp Mon Apr 25 14:41:53 2016 +0200 @@ -39,7 +39,8 @@ { void StringHttpOutput::OnHttpStatusReceived(HttpStatus status) { - if (status != HttpStatus_200_Ok) + if (status != HttpStatus_200_Ok && + status != HttpStatus_404_NotFound) { throw OrthancException(ErrorCode_BadRequest); }