fix: correct default parameter in HTÜPVerbindung __init__

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.
This commit is contained in:
Kumi 2024-05-23 12:51:22 +02:00
parent aec8564839
commit fa8e744300
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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 = {