Skip to content

Commit aef5edf

Browse files
LamentXU123picnixz
andauthored
Update Lib/http/cookiejar.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 6238901 commit aef5edf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/http/cookiejar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,9 @@ def eff_request_host(request):
674674
else:
675675
is_ipV6 = False
676676
if "." not in req_host and not is_ipV6:
677-
# avoid adding .local at the end of a IPV6 address
678-
# for the additional ".local", see RFC 2965 section 1
679-
# https://www.rfc-editor.org/rfc/rfc2965
677+
# Avoid adding .local at the end of an IPv6 address.
678+
# See RFC 2965 [1] for the rationale of ".local".
679+
# [1]: https://www.rfc-editor.org/rfc/rfc2965
680680
erhn = req_host + ".local"
681681
return req_host, erhn
682682

0 commit comments

Comments
 (0)