Mercurial > hg > orthanc-stone
comparison Platforms/Generic/WebServiceGetCommand.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 |
---|---|
51 { | 51 { |
52 client.AddHeader(it->first, it->second); | 52 client.AddHeader(it->first, it->second); |
53 } | 53 } |
54 | 54 |
55 success_ = client.Apply(answer_, answerHeaders_); | 55 success_ = client.Apply(answer_, answerHeaders_); |
56 httpStatus_ = client.GetLastStatus(); | |
56 } | 57 } |
57 | 58 |
58 } | 59 } |