summaryrefslogtreecommitdiff
path: root/paste/errordocument.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix pyflakes warningsVictor Stinner2015-04-221-2/+1
| | | | | | * Remove unused variables * Remove unused imports * Remove dead code
* Port test_errordocument on Python 3Victor Stinner2015-04-221-3/+10
| | | | On Python 3, encode body to UTF-8
* Python 3: Replace "dict.has_key(key)" with "key in dict"Cyril Roelandt2014-03-181-1/+1
|
* Python 3: Replace "except Exception, exc" with "except Exception as exc:"Cyril Roelandt2014-03-181-2/+2
|
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-181-2/+2
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* Always return something from start_response, even if we don't plan to ↵Ian Bicking2010-09-021-3/+7
| | | | actually use the written response (because it will be forwarded). Might fix: http://trac.pythonpaste.org/pythonpaste/ticket/166
* Improve errors when fetching an error page: ↵Ian Bicking2010-09-021-2/+9
| | | | http://trac.pythonpaste.org/pythonpaste/ticket/123
* fix exception catching syntaxIan Bicking2010-06-071-38/+38
|
* small docstring formatting fixesianb2008-04-271-1/+1
|
* convert old-style classes to new-style classespjenvey2007-01-051-2/+2
|
* StatusKeeper now also retains headers.bbangert2006-12-011-7/+14
|
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-201-8/+7
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* Paste should not depend upon other paste modules, suchcce2006-09-211-1/+1
| | | | | | | | | as Deploy. This patch moves 'converters' into paste.util since it was being used within paste proper. I'll leave it to those who know Deploy to update that. - copied converters.py from paste.deploy to paste.util - updated files that use paste.deploy.converters
* Adding code-block directive to Python code samples.bbangert2006-09-021-1/+3
|
* Removed Paste Deploy dependencies in many placesianb2006-08-191-2/+7
|
* o no longer exhausting the app_iterpjenvey2006-07-271-5/+0
| | | | | o as much as I like the new StatusBasedForward forward debug message, it can be chatty with a lack of favicon. removing it
* cleaner gathering of the debug config setting via converters.asboolpjenvey2006-07-261-4/+2
|
* StatusBasedForward will consume the enclosed app's response when the Forwardpjenvey2006-07-261-0/+4
| | | | condition is met, but wasn't close()ing it when it's iterable
* Some more changes to paste.errordocuments and an update to paste.recursivethejimmyg2006-07-201-133/+163
|
* Fixed a bug in paste.errordocuments.forward and updated unit teststhejimmyg2006-07-201-0/+1
|
* Removed errordocument.empty_error, since it never actually worked in a ↵0.9.5ianb2006-07-201-47/+0
| | | | useful way; changed the news to 0.9.5 (since that's what the next release will be)
* Added a middleware to clear out error bodies, making them more accessible to ↵ianb2006-07-141-0/+49
| | | | Apache; added an app_iter wrapper for chaining app_iters from multiple sources (needed for peeking at status)
* Added a Paste Deploy entry point for paste.errordocument (not tested, bad me)ianb2006-07-141-1/+23
|
* Fixing default {}, since it will always be retained. Creating a {} for each ↵bbangert2006-06-031-2/+6
| | | | call where its not passed.
* fix docstringianb2006-04-241-11/+11
|
* Update docstrings in errordocument.py0.5thejimmyg2006-03-051-3/+3
|
* Rename error_document to errordocument to fit PEP 8 (back-compat commit next)ianb2006-03-031-0/+303