@@ -34,7 +34,7 @@ def getAttachDealInterface(_data,_type,path="",restry=1,kwargs={},url=interface_
"type":_type}
if len(kwargs.keys())>0:
_json.update(kwargs)
- headers = {"Content-Type":"application/json","Connection":"close"}
+ headers = {"Content-Type":"application/json"}
with requests.Session() as session:
_resp = session.post(url,data=_json,timeout=timeout,headers=headers)