X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fvnfd.py;h=3c09707e52b436a18af3f300445af16e2db5ec94;hb=c9c8f15561064379419abd92e42017d2011dba26;hp=0a2b7727265f56f39e3093dc11ba652ad9ca0ae4;hpb=45100df135425f2a314367210bca9056a5026d64;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/vnfd.py b/osmclient/sol005/vnfd.py index 0a2b772..3c09707 100644 --- a/osmclient/sol005/vnfd.py +++ b/osmclient/sol005/vnfd.py @@ -329,11 +329,7 @@ class Vnfd(object): special_override_string = special_override_string.rstrip(";") 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