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