[New-bugs-announce] [issue42833] Lib/urllib/request.py: digest algorithm should be case insensitive

Pierre Tardy report at bugs.python.org
Tue Jan 5 10:35:06 EST 2021


New submission from Pierre Tardy <tardyp at gmail.com>:

original bug report: https://github.com/buildbot/buildbot/issues/5743

Twisted by default advertises its algorithm in lowercase, which is uncommon, but allowed by the spec.

https://tools.ietf.org/html/rfc3230#section-4.1.1


python's request.py is only supporting MD5 or SHA as algorithm, and not lowercase equivalent.

This is an easy and harmless fix.

----------
messages: 384409
nosy: Pierre.Tardy
priority: normal
severity: normal
status: open
title: Lib/urllib/request.py: digest algorithm should be case insensitive
type: behavior
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42833>
_______________________________________


More information about the New-bugs-announce mailing list