summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/curl-get.cpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-24 02:54:39 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-24 02:54:39 +0000
commit74aef8947b7b72eca797a2f55d39997cc7af9c25 (patch)
tree60992d5a27fb7d10e2e6b280cad4dfde9256c043 /sca-cpp/trunk/modules/http/curl-get.cpp
parente5f662ac57fa2c54882245e1c568e0982abab4fb (diff)
Fix roundtripping of JSON arrays, booleans and numbers, ATOM / RSS feed detection, and support REST-style JSON and XML payloads in server handler and client proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052432 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/curl-get.cpp')
-rw-r--r--sca-cpp/trunk/modules/http/curl-get.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/curl-get.cpp b/sca-cpp/trunk/modules/http/curl-get.cpp
index 4d5f1837fc..762423bebb 100644
--- a/sca-cpp/trunk/modules/http/curl-get.cpp
+++ b/sca-cpp/trunk/modules/http/curl-get.cpp
@@ -36,7 +36,7 @@ const bool testGet(const string& url, const string& ca = "", const string& cert
CURLSession ch(ca, cert, key);
const failable<value> val = get(url, ch);
assert(hasContent(val));
- cout << val << endl;
+ cout << content(val) << endl;
return true;
}