From ca613a52aa039b4f307ca6ec96c1ad879aac6898 Mon Sep 17 00:00:00 2001 From: Max de Boer Date: Mon, 22 Dec 2025 11:50:02 +0100 Subject: [PATCH] Adds indent to _create for when no client is present --- src/zeep/wsdl/bindings/soap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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