X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fhttp.py;h=5311ca8d1e5b6cda544e662861c89250fd631b0f;hb=98213d0b29e9a26d113eaced1e0975a1d2ce833c;hp=8e80ba950e514b84728d6b700d87c3f77987b958;hpb=6a9fdb5215ac407f2b39cb82194c54926cb2fb8a;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/http.py b/osmclient/sol005/http.py index 8e80ba9..5311ca8 100644 --- a/osmclient/sol005/http.py +++ b/osmclient/sol005/http.py @@ -50,7 +50,7 @@ class Http(http.Http): curl_cmd.close() # TODO 202 accepted should be returned somehow if data.getvalue(): - return http_code, json.loads(data.getvalue().decode()) + return http_code, data.getvalue().decode() else: return http_code, None