summaryrefslogtreecommitdiff
path: root/cherrypy/lib/auth_basic.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace ntob(tonative(bytes)) with just bytesJason R. Coombs2018-05-291-3/+3
|
* Rewrite _try_decode to naturally raise an error on the last attempt.Jason R. Coombs2018-05-291-9/+5
|
* Extract _try_decode functionJason R. Coombs2018-05-291-11/+15
|
* Add tools.auth_basic.accept_charset to examplesSviatoslav Sydorenko2018-04-221-0/+1
|
* Use ISO-8859-1 as a fallback charset for credsSviatoslav Sydorenko2018-04-221-4/+16
| | | | | | Almost all modern browsers either have crappy support of RFC7617 or don't support it at all. Perhaps only Google Chrome and curl are good citizens.
* Fix unicode under Python 2Sviatoslav Sydorenko2018-04-221-1/+4
|
* Add UTF-8 as a default charset for HTTP Auth credsSviatoslav Sydorenko2018-04-221-5/+13
|
* Normalize credentials using NFC according to RFCSviatoslav Sydorenko2018-04-221-0/+1
|
* Decode user/pass using UTF-8 in HTTP Basic AuthSviatoslav Sydorenko2018-04-221-1/+3
| | | | | | | This is a silly fix, which should evolve into one taking into account RFC7617. Ref #1680
* Move lib.auth_basic docstring to the right placeSviatoslav Sydorenko2018-04-221-7/+9
|
* Remove exemption for extra long lines. Updated code to conform with standard ↵Jason R. Coombs2017-10-281-1/+2
| | | | 79 character limitation. Fixes #1652.
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-1/+1
| | | | pre-commit run double-quote-string-fixer --all-files
* Fix E402 for lib/auth_basicSviatoslav Sydorenko2016-09-081-4/+6
|
* HTTPError provides context manager for handling exceptions.Aric Coady2016-09-031-4/+2
|
* More PEP8 work.Gustavo Picon2014-01-121-1/+2
|
* Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-5/+7
| | | | | --HG-- branch : autopep8
* Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-4/+4
| | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'`
* Bye bye, py2/3.Robert Brewer2011-07-021-0/+87
|
* Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunkRobert Brewer2011-02-251-87/+0
| | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install.
* Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.Robert Brewer2011-02-241-5/+2
|
* Sphinx docs in cherrypy.lib.*chbrown2010-02-241-16/+19
|
* Final fix for #915 (Add "debug=False" arg to builtin Tools).Robert Brewer2009-08-061-1/+3
|
* All internals now use cherrypy.serving.request/response instead of ↵Robert Brewer2009-06-221-6/+7
| | | | request/response for a speed boost.
* More syncs with python3.Robert Brewer2009-06-091-1/+2
|
* trunk - adding a py3util module that will normalize as many differences ↵Lakin Wecker2009-06-011-2/+2
| | | | between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b''
* Name improvement for auth_basic and auth_digest toolsvisteya2009-05-111-8/+9
|
* Added improved Tools (and tests) for basic and digest authentication, as ↵visteya2009-05-111-0/+82
mentioned in tickets #913 and #914