Message275008
The standard http basic authorization is
basic-credentials = "Basic" SP basic-cookie
basic-cookie = <base64 [5] encoding of userid-password,
except not limited to 76 char/line>
userid-password = [ token ] ":" *TEXT
but the logging/handlers module do the fllowing:
s = ('u%s:%s' % self.credentials).encode('utf-8')
s = 'Basic ' + base64.b64encode(s).strip()
why there is a redundant chr 'u'? |
|
Date |
User |
Action |
Args |
2016-09-08 12:49:24 | SenBin Yu | set | recipients:
+ SenBin Yu |
2016-09-08 12:49:24 | SenBin Yu | set | messageid: <1473338964.47.0.491087604929.issue28020@psf.upfronthosting.co.za> |
2016-09-08 12:49:24 | SenBin Yu | link | issue28020 messages |
2016-09-08 12:49:24 | SenBin Yu | create | |
|