summaryrefslogtreecommitdiff
path: root/paste/auth/digest.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise StopIteration from generator, return insteadMiro Hron?ok2018-06-081-1/+1
| | | | See https://www.python.org/dev/peps/pep-0479/
* Port paste.auth to Python 3Victor Stinner2015-04-211-7/+22
| | | | | | * md5() and hmac expects bytes: on Python 3, encode text to utf-8 * Don't compare None with int * HTTP body must be bytes
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-181-1/+1
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* Fix digest authentication (it was picking up commas inside of the digest ↵Toshio Kuratomi2011-12-211-4/+29
| | | | auth values)
* Add fix to make digest auth with internet explorer 8 (and possibly other ↵milinnovations_andreas2010-09-291-2/+2
| | | | versions)
* Fix test broken by 27a36b3e1843 (for ↵Taavi Burns2010-09-091-1/+1
| | | | http://trac.pythonpaste.org/pythonpaste/ticket/328)
* A probably incomplete fix for ↵Ian Bicking2010-09-021-2/+3
| | | | http://trac.pythonpaste.org/pythonpaste/ticket/328 -- quote the path before checking the digest. May not recreate the original quoting, but at least it is more correct than simply appending SCRIPT_NAME and PATH_INFO, which are definitely not quoted.
* prefer hashlib over the md5/sha modules which are deprecated in Python 2.6pjenvey2008-09-171-6/+10
|
* oopscce2007-01-101-2/+0
|
* fixing server side cache /w the nocache headercce2007-01-101-0/+2
|
* convert old-style classes to new-style classespjenvey2007-01-051-2/+2
|
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-201-16/+18
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* Several name problems, small bugs, extra imports caught by pyflakesianb2006-10-201-1/+1
|
* Patch from Brad Clements to add Paste Deploy support for paste.auth methodsianb2006-06-301-0/+18
|
* This updates the paste.auth.* modules to includecce2006-02-241-15/+13
| | | | | | | | | | | | | | | | | | | | | | environ in the authentication callback functions. - auth.basic was modified to have a callback of authfunc(environ, username, password) - auth.digest was modified in a similar manner, authfunc(environ, realm, password) - auth.digest's digest_password also had it's arguments reversed to be consistent with the corresponding authfunc(); if you're going to break -- let's fix two things at once! - auth.form has a change similar to auth.basic These changes were suggested via Matthew Scott on the paste mailing list; only that I put the environ first to be consistent with other WSGI functions.
* moving httpserver from util sub-package up a levelcce2006-01-091-1/+1
|
* - fixed logic/definition problem /w multi-entry headers;cce2006-01-011-26/+9
| | | | | | | | | | | | | | __call__ now always returns a string value - renamed resolve to values in HTTPHeader to better reflect the public-interface for this (esp for multi-entry headers) - a few bugs in mult-entry headers - added common CGI headers to httpheaders; I know they don't really belong here, but error checking is nice - updated auth.digest and auth.basic to use httpheaders (this is what prompted the above changes) - added WWW_AUTHENTICATe header which will build a response to a digest challenge - fixed capitalization error in fileapp and added corresponding test
* - upgraded docs for paste.auth.digest and paste.auth.multicce2005-12-311-69/+84
|
* - removed unnecessary spaces in several filescce2005-12-221-15/+15
| | | | - added DataApp to paste.fileapp
* migrating tests to use util.httpserver rather than util.baseservercce2005-12-141-1/+1
|
* Merged changes from cce branch (r3727:HEAD/4008); the branch is now in sync ↵ianb2005-12-131-0/+193
with trunk