projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix vim-update by using PUT and proper handling of SDN info
[osm/osmclient.git]
/
osmclient
/
sol005
/
client.py
diff --git
a/osmclient/sol005/client.py
b/osmclient/sol005/client.py
index
ca8f151
..
cec7436
100644
(file)
--- a/
osmclient/sol005/client.py
+++ b/
osmclient/sol005/client.py
@@
-58,9
+58,9
@@
class Client(object):
if ro_host is None:
ro_host = host
if ro_host is None:
ro_host = host
- ro_http_client = http.Http('http://{}:{}/'.format(ro_host, ro_port))
+ ro_http_client = http.Http('http://{}:{}/
openmano
'.format(ro_host, ro_port))
ro_http_client.set_http_header(
ro_http_client.set_http_header(
- ['Accept: application/
vnd.yand.data+
json',
+ ['Accept: application/json',
'Content-Type: application/json'])
self._http_client = http.Http(
'Content-Type: application/json'])
self._http_client = http.Http(