chiark
/
gitweb
/
~mdw
/
chopwood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
40c5485
)
httpauth.py: Use `base64' module's built-in character twiddles.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 10 Aug 2013 12:29:41 +0000
(13:29 +0100)
committer
Mark 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