Message401768
At the beginning of the issue, there is the following reproduction code:
from urllib.request import AbstractBasicAuthHandler
auth_handler = AbstractBasicAuthHandler()
auth_handler.http_error_auth_reqed(
'www-authenticate',
'unused',
'unused',
{
'www-authenticate': 'Basic ' + ',' * 64 + ' ' + 'foo' + ' ' +
'realm'
}
)
Here's the headers:
{
'www-authenticate': 'Basic ' + ',' * 64 + ' ' + 'foo' + ' ' +
'realm'
}
I think this is a dict object, so the current problem is fixed and no longer compatible with the previous usage? |
|
Date |
User |
Action |
Args |
2021-09-14 10:33:05 | sxt1001 | set | recipients:
+ sxt1001, vstinner, larry, ned.deily, mgorny, koobs, miss-islington, ware, tapakund, Anselmo Melo, bc |
2021-09-14 10:33:05 | sxt1001 | set | messageid: <1631615585.75.0.683824903869.issue39503@roundup.psfhosted.org> |
2021-09-14 10:33:05 | sxt1001 | link | issue39503 messages |
2021-09-14 10:33:05 | sxt1001 | create | |
|