projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10996: Adds ns-op-cancel command
[osm/osmclient.git]
/
osmclient
/
sol005
/
nsd.py
diff --git
a/osmclient/sol005/nsd.py
b/osmclient/sol005/nsd.py
index
5ccbe78
..
2fb5859
100644
(file)
--- a/
osmclient/sol005/nsd.py
+++ b/
osmclient/sol005/nsd.py
@@
-161,10
+161,7
@@
class Nsd(object):
)
)
headers["Content-File-MD5"] = utils.md5(filename)
)
)
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
if update_endpoint:
http_code, resp = self._http.put_cmd(
endpoint=update_endpoint, filename=filename