| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
See https://www.python.org/dev/peps/pep-0479/
|
|
|
|
|
|
| |
* md5() and hmac expects bytes: on Python 3, encode text to utf-8
* Don't compare None with int
* HTTP body must be bytes
|
|
|
|
| |
Use "try/except ImportError" to try Python 2 and Python 3 names.
|
|
|
|
| |
auth values)
|
|
|
|
| |
versions)
|
|
|
|
| |
http://trac.pythonpaste.org/pythonpaste/ticket/328)
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__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
|
| |
|
|
|
|
| |
- added DataApp to paste.fileapp
|
| |
|
|
with trunk
|