summaryrefslogtreecommitdiff
path: root/wsgitools/internal.py
AgeCommit message (Collapse)Author
2012-07-01make HtdigestTokenGenerator work with py3kHelmut Grohne
Define a textopen function that returns "native strings" (in the sense of pep3333). Therefore textopen needs to decode using iso-8859-1 iff running on py3k. Additionally use a with construct to close the file being read in all circumstances.
2012-06-29scgi.asynchronous: move {en,de}coding to internal moduleHelmut Grohne