Mercurial > hg > orthanc
diff Core/HttpServer/StringHttpOutput.cpp @ 1985:3fcea6dc151d
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Apr 2016 14:41:53 +0200 |
parents | b1291df2f780 |
children | b534834a300e |
line wrap: on
line diff
--- 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); }