summaryrefslogtreecommitdiff
path: root/paste/auth/cookie.py
Commit message (Collapse)AuthorAgeFilesLines
* Port paste.auth to Python 3Victor Stinner2015-04-211-4/+13
| | | | | | * md5() and hmac expects bytes: on Python 3, encode text to utf-8 * Don't compare None with int * HTTP body must be bytes
* Strip trailing spacesVictor Stinner2015-04-211-1/+1
|
* Python 3: Add b prefix to literal binary stringsCyril Roelandt2014-03-181-1/+1
|
* Python 3: Replace "dict.has_key(key)" with "key in dict"Cyril Roelandt2014-03-181-1/+1
|
* Python 3: Replace basestring with six.string_typesCyril Roelandt2014-03-181-3/+3
|
* Python 3: don't use tuples in function prototypeCyril Roelandt2014-03-181-1/+1
| | | | Unpack explicitly in the body of the function
* don't need to strip the trailing newline anymoreianb2009-01-081-1/+1
|
* Fix #257, newlines in paste.auth.cookie cookiesianb2009-01-081-0/+1
|
* fix auth cookie generating bad headerspjenvey2008-10-101-1/+2
| | | | thanks Alberto Valverde, jnelson, Jorge Vargas, Graham Dumpleton
* prefer hashlib over the md5/sha modules which are deprecated in Python 2.6pjenvey2008-09-171-4/+10
|
* Use base64.encode|decodestring, for python 2.3 compatibilityianb2007-12-171-2/+2
|
* fixed the AuthCookieHandler examplepjenvey2007-02-161-1/+1
| | | | (thanks Damjan Georgievski)
* 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-24/+25
| | | | 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
|
* Make sure timeout isn't passed in as a stringianb2006-08-211-0/+5
|
* better error message in paste.auth.cookieianb2006-08-211-0/+5
|
* Added an entry point for paste.auth.cookie; added/currected a little info to ↵ianb2006-08-191-10/+91
| | | | the docstrings
* Indentation in docstringianb2006-01-181-20/+22
|
* moving httpserver from util sub-package up a levelcce2006-01-091-1/+1
|
* - removing unnecessary trailing spaces, that's allcce2006-01-051-1/+1
|
* - made the example program simpler for paste.auth.cookie, nocce2006-01-031-8/+3
| | | | | point in adding in so many features when trying to introduce a new person to this module
* (no commit message)cce2006-01-031-10/+12
|
* - added REMOTE_SESSION as a default environment variable to savecce2006-01-021-5/+7
| | | | to help solve requirements mentioned atassist http://groups.google.com/group/turbogears/browse_frm/thread/9c38012ddb4128ef/9fc9e2524433f239#9fc9e2524433f239
* - fixed logic/definition problem /w multi-entry headers;cce2006-01-011-0/+1
| | | | | | | | | | | | | | __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
* - cleaned up documentation for paste.auth.cookiecce2005-12-311-60/+119
| | | | | | | | - cleaned up documentation for paste.auth.form - cleaned up documentation for paste.auth.basic - converted InternalServerError into its own class (httpexceptions) - converted BadRequest into its own class (httpexceptions) - a few minor cleanups
* updated signature of cookie.py to use a 64 byte key as recommended by HMACcce2005-12-171-4/+10
|
* - removed super() usage in httpserver and just copied the codecce2005-12-171-4/+4
| | | | - replaced plain sha with hmac in cookie.py
* (no commit message)cce2005-12-151-1/+1
|
* 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/+229
with trunk