projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vim-update dealing with SDN controller and port mapping
[osm/osmclient.git]
/
osmclient
/
sol005
/
http.py
diff --git
a/osmclient/sol005/http.py
b/osmclient/sol005/http.py
index
8e80ba9
..
5311ca8
100644
(file)
--- 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():
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
else:
return http_code, None