diff 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
line wrap: on
line diff
--- a/Platforms/Generic/WebServiceGetCommand.cpp	Mon Jul 22 14:29:23 2019 +0200
+++ b/Platforms/Generic/WebServiceGetCommand.cpp	Fri Aug 02 17:38:31 2019 +0200
@@ -53,6 +53,7 @@
     }
 
     success_ = client.Apply(answer_, answerHeaders_);
+    httpStatus_ = client.GetLastStatus();
   }
 
 }