Mercurial > hg > orthanc
changeset 1985:3fcea6dc151d
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Apr 2016 14:41:53 +0200 |
parents | 9f09a20e41e2 |
children | 99b249867052 |
files | Core/HttpServer/StringHttpOutput.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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); }