summaryrefslogtreecommitdiff
path: root/paste/response.py
Commit message (Collapse)AuthorAgeFilesLines
* Add default argument to paste.response.HeaderDict.pop (to make it more like ↵Ian Bicking2010-09-011-6/+6
| | | | a normal dict): http://trac.pythonpaste.org/pythonpaste/ticket/279
* small docstring formatting fixesianb2008-04-271-1/+1
|
* Improve performance of HeaderDict.headeritems()ianb2007-09-211-4/+4
|
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-201-2/+2
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* o fixed WSGIResponse to determine the correct encoding after the Content-Typepjenvey2006-09-041-0/+6
| | | | | | header was changed o defaulting the WSGIResponse charset to iso-8859-1 as per RFC2616 o fixed HeaderDict's get and setdefault to be case insensitive
* Fixing unindent issue that tripped up pudge.bbangert2006-09-021-2/+2
|
* Adding code-block directive to Python code samples.bbangert2006-09-021-1/+3
|
* Added copyright header to a bunch of filesianb2006-06-131-0/+2
|
* Moved WSGIRequest from request -> wsgiwrappers. Created WSGIResponse object ↵bbangert2006-03-191-3/+2
| | | | in wsgiwrappers.
* Fix typoianb2006-02-281-1/+1
|
* Added a .fromlist method to HeaderDictianb2006-02-281-0/+9
|
* Fixed stack level for warningsianb2006-01-031-3/+3
|
* Added a bunch of module docstrings so the module index looks nicer; also ↵ianb2005-12-301-0/+4
| | | | marked deprecated modules so they don't show up in the module index that Pudge creates
* - added normalize_headers to paste.httpheaders which sorts a setcce2005-12-261-1/+11
| | | | | | | | | | of outgoing headers and capitalizes them to exactly match the RFC for extremely dumb user agents (which exist... unfortunately) that don't do case-insensitive matches and assume Camel-Case - added ResponseHeaderWrapper to use python properties to access headers which don't use multiple-entities (like Set-Cookie) - updated comment to header_value to explain why , separator works in most cases (but not all)
* - made __call__ for an HTTPException be the same as wsgi_applicationcce2005-12-231-0/+24
| | | | | | | | - added if-modified-since logic to fileapp.py - added helper to mark file/data as cached in fileapp.py - added starter regression test for fileapp.py note: if-modified-since is still slighly broken due to timezone issues (it isn't consistenly keeping gmtime and localtime)
* - removed unnecessary spaces in several filescce2005-12-221-1/+1
| | | | - added DataApp to paste.fileapp
* A bunch of little import cleanups noted from pyflakesianb2005-12-181-0/+1
|
* Added -W option to tests, which will turn warnings into errors (warnings ↵ianb2005-12-181-0/+183
haven't actually been removed yet, though). Split response and fileapp from wsgilib. Some portions of wsgilib may still move to response module, this is just the first cut