Skip to content

Commit 5c21402

Browse files
committed
move md5-sess comment
1 parent aea1b4e commit 5c21402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/urllib/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,9 +1182,9 @@ def get_algorithm_impls(self, algorithm):
11821182
H = lambda x: hashlib.md5(x.encode("ascii")).hexdigest()
11831183
elif algorithm == 'SHA':
11841184
H = lambda x: hashlib.sha1(x.encode("ascii")).hexdigest()
1185-
# XXX MD5-sess
11861185
elif algorithm == 'SHA-256':
11871186
H = lambda x: hashlib.sha256(x.encode("ascii")).hexdigest()
1187+
# XXX MD5-sess
11881188
else:
11891189
raise ValueError("Unsupported digest authentication "
11901190
"algorithm %r" % algorithm)

0 commit comments

Comments
 (0)