Skip to content

Commit d616135

Browse files
committed
update link to use https based on prev commit on main
1 parent 259d36b commit d616135

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymongo/uri_parser_shared.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# may not use this file except in compliance with the License. You
55
# may obtain a copy of the License at
66
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
7+
# https://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -163,7 +163,7 @@ def parse_host(entity: str, default_port: Optional[int] = DEFAULT_PORT) -> _Addr
163163
port = int(port)
164164

165165
# Normalize hostname to lowercase, since DNS is case-insensitive:
166-
# http://tools.ietf.org/html/rfc4343
166+
# https://tools.ietf.org/html/rfc4343
167167
# This prevents useless rediscovery if "foo.com" is in the seed list but
168168
# "FOO.com" is in the hello response.
169169
return host.lower(), port

0 commit comments

Comments
 (0)