Mercurial > hg > orthanc
diff Core/HttpClient.cpp @ 2044:0f35383dd6cc
doc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 23 Jun 2016 17:32:01 +0200 |
parents | 9f61ca1e3eb3 |
children | 21a8ca9ad928 |
line wrap: on
line diff
--- a/Core/HttpClient.cpp Thu Jun 23 10:08:27 2016 +0200 +++ b/Core/HttpClient.cpp Thu Jun 23 17:32:01 2016 +0200 @@ -189,7 +189,7 @@ throw OrthancException(ErrorCode_Unauthorized); case HttpStatus_404_NotFound: - throw OrthancException(ErrorCode_InexistentItem); + throw OrthancException(ErrorCode_UnknownResource); default: throw OrthancException(ErrorCode_NetworkProtocol); @@ -197,7 +197,6 @@ } - static CURLcode CheckCode(CURLcode code) { if (code == CURLE_NOT_BUILT_IN)