chiark / gitweb /
httpauth.py: Use `base64' module's built-in character twiddles.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 12:29:41 +0000 (13:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 12:29:41 +0000 (13:29 +0100)
I hadn't noticed before: `b64encode' has an optional argument which you
can use to change the `+' and `/' characters.  Use them instead of a
post-pass with `str.replace'.


No differences found