Mercurial > hg > orthanc-stone
comparison Platforms/Generic/WebServiceDeleteCommand.cpp @ 940:861c080ef47b
handling httpStatus in WebService error messages
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Fri, 02 Aug 2019 17:38:31 +0200 |
parents | 4f2416d519b4 |
children | e713f1a99861 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
924:9ba1e1198e73 | 940:861c080ef47b |
---|---|
49 { | 49 { |
50 client.AddHeader(it->first, it->second); | 50 client.AddHeader(it->first, it->second); |
51 } | 51 } |
52 | 52 |
53 success_ = client.Apply(answer_, answerHeaders_); | 53 success_ = client.Apply(answer_, answerHeaders_); |
54 httpStatus_ = client.GetLastStatus(); | |
54 } | 55 } |
55 | 56 |
56 } | 57 } |