X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fhttp.py;h=4234fc8122721be75ce43d0049662ce3fdd12c6e;hb=bbeda5dd93453c359da0f754f73c369e3ddfc385;hp=1b4720425f1c6ab1ec06eb4dba53b6a21fe7b464;hpb=e6e9ebfa7cc4d9c3d0bda4a2dcab7f337af63baf;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/http.py b/osmclient/sol005/http.py index 1b47204..4234fc8 100644 --- a/osmclient/sol005/http.py +++ b/osmclient/sol005/http.py @@ -114,6 +114,7 @@ class Http(http.Http): curl_cmd.setopt(pycurl.CUSTOMREQUEST, "PATCH") curl_cmd.setopt(pycurl.POST, 1) curl_cmd.setopt(pycurl.WRITEFUNCTION, data.write) + if postfields_dict is not None: jsondata = json.dumps(postfields_dict) if "password" in postfields_dict: