diff --git a/src/zeep/wsdl/bindings/soap.py b/src/zeep/wsdl/bindings/soap.py index 3a5e5433..4b23517c 100644 --- a/src/zeep/wsdl/bindings/soap.py +++ b/src/zeep/wsdl/bindings/soap.py @@ -99,9 +99,9 @@ def _create(self, operation, args, kwargs, client=None, options=None): else: envelope, http_headers = client.wsse.apply(envelope, http_headers) - # Add extra http headers from the setings object - if client.settings.extra_http_headers: - http_headers.update(client.settings.extra_http_headers) + # Add extra http headers from the setings object + if client.settings.extra_http_headers: + http_headers.update(client.settings.extra_http_headers) return envelope, http_headers