X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fns.py;fp=osmclient%2Fsol005%2Fns.py;h=c84d090f05fa346caebcdf6498bc352b32edf041;hb=29c6d8d0418e15012524b57a99adfbaeba59a712;hp=00d68d669c5d1852e6f815885acd6dc36d4bf5e0;hpb=e197f95390c84fa8d6c35d68a592284f55c24a33;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py index 00d68d6..c84d090 100644 --- a/osmclient/sol005/ns.py +++ b/osmclient/sol005/ns.py @@ -278,10 +278,7 @@ class Ns(object): ) headers = self._client._headers headers["Content-Type"] = "application/yaml" - http_header = [ - "{}: {}".format(key, val) for (key, val) in list(headers.items()) - ] - self._http.set_http_header(http_header) + self._http.set_http_header(headers) http_code, resp = self._http.post_cmd( endpoint=self._apiBase, postfields_dict=ns )