Ілля
Ілля
In general - the problem is not in the zeep module zeep send a request using the requests library. And, in turn, uses the standard python library - http. The...
``` from zeep.wsdl.messages.soap import SoapMessage def changed_serialize(f): def wrapper(*args, **kwargs): result = f(*args, **kwargs) result.headers["SOAPAction"] = result.headers["SOAPAction"].encode("utf-8") return result return wrapper SoapMessage.serialize = changed_serialize(SoapMessage.serialize) ``` I wrote this wrapper, which...