From fa8e744300875b87af6eb0ad38795e3553d93e7e Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 23 May 2024 12:51:22 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20default=20parameter=20in=20HT?= =?UTF-8?q?=C3=9CPVerbindung=20=5F=5Finit=5F=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolved a minor but crucial bug where the `quelladdresse` parameter's default value in the `HTÜPVerbindung` constructor was mistakenly set to `Nicht`. It has been corrected to `Nichts` (None), ensuring consistency with other default parameter values and preventing potential runtime errors related to type mismatches or unexpected behavior in network operations where a source address is not specified. This fix enhances the robustness of HTTP connections established using our custom wrapper, contributing to more reliable network communication in our applications. --- src/deuthon/wrappers/htüp/kundin.deu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deuthon/wrappers/htüp/kundin.deu b/src/deuthon/wrappers/htüp/kundin.deu index 4424e95..cb31a9c 100644 --- a/src/deuthon/wrappers/htüp/kundin.deu +++ b/src/deuthon/wrappers/htüp/kundin.deu @@ -2,7 +2,7 @@ importiere http.client klasse HTÜPVerbindung(http.client.HTTPConnection): definiere __init__(selbst, gastgeber, anschluss, - auszeit=Nichts, quelladdresse=Nicht, + auszeit=Nichts, quelladdresse=Nichts, blockgröße=Nichts): swargumente = {