New submission from SenBin Yu: 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'? ---------- components: Library (Lib) messages: 275008 nosy: SenBin Yu priority: normal severity: normal status: open title: Python 3 logging HTTPHandler doesn't implement a standard http basic authorize type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28020> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com