X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fnst.py;h=989e0bd00fe084e4a6761b97753b6812eac010d6;hb=refs%2Fheads%2Fv14.0;hp=19092b218e9c554d50d21b11fac143566f1349b4;hpb=95686bbc69ded243c346f94dceb0bee567572fb7;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/nst.py b/osmclient/sol005/nst.py index 19092b2..989e0bd 100644 --- a/osmclient/sol005/nst.py +++ b/osmclient/sol005/nst.py @@ -192,10 +192,7 @@ class Nst(object): ) ) headers["Content-File-MD5"] = utils.md5(filename) - 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) if update_endpoint: http_code, resp = self._http.put_cmd( endpoint=update_endpoint, filename=filename