summaryrefslogtreecommitdiff
path: root/paste/util
Commit message (Collapse)AuthorAgeFilesLines
...
* - raise type error on unknown monthscce2006-08-241-2/+2
| | | | - allow 'today' as keyword date
* (no commit message)cce2006-08-241-1/+1
|
* Somewhere in the past two years day_of_week changed tocce2006-08-241-1/+1
| | | | isoweekday() in the datetime API.
* renamed the multidict class to MultiDictpjenvey2006-07-251-7/+7
|
* added copy methodpjenvey2006-07-231-1/+4
|
* Added a method to get a cgi-style dictionary out of this dictionaryianb2006-06-221-2/+27
|
* Make multidict parse args+kw more like dict() doesianb2006-06-221-6/+3
|
* added optional host and max_children args to scgi's serve_application.pjenvey2006-06-171-2/+28
| | | | | | | | | | | | | | | Ideally the function prototype would match SCGIServers, i.e.: def serve_application(application, prefix, host=, port=None, max_children=None): or: def serve_application(application, prefix, **kwargs): (host, port and max_children could then default to SCGIServer's defaults), but that could break compatibility with those not explicitly using keyword args suggested by: greg@electricrain.com resolves: #55
* Added copyright header to a bunch of filesianb2006-06-132-0/+4
|
* Fix for odd issue where sometimes the new mixin's len doesn't work, ↵bbangert2006-06-011-0/+3
| | | | resulting in bool evaluations having infinite recursion. This nonzero override remedies the situation, why the endless recursion occurs with len is still a mystery.
* - Space Nazicce2006-03-091-1/+2
|
* Implementation of a multidictianb2006-03-091-0/+187
|
* Provide top-level ip2int functionianb2006-03-031-28/+31
|
* Added a no-quoting quoterianb2006-01-221-0/+6
|
* new version from upstream, plus some python2.3 fixesianb2006-01-222-6/+9
|
* New versions of files received from upstream author.ianb2006-01-212-78/+79
|
* Added middleware for reading mod_auth_tkt-style signed cookies ↵ianb2006-01-182-0/+777
| | | | (paste.auth.auth_tkt). Added middleware to set user and group based on IP addresses (paste.auth.grantip). Added some modules for handling ranges of IP addresses, taken from some Python Cookbook recipes -- license is unclear on these, but I've requested clarification from the author (shouldn't be released until that is clarified).
* Typo; fixed #54 (no QUERY_STRING or QUERY_STRING on PATH_INFO)ianb2006-01-121-1/+1
|
* - add support for 'dd-mon-yyyy' date formatcce2006-01-091-2/+5
|
* moving httpserver from util sub-package up a levelcce2006-01-091-373/+0
|
* - better error checking in parse_datetimecce2006-01-081-45/+32
| | | | - remove unnecessary intermediaries
* - making timedate parser throw more exceptions on errorscce2006-01-081-52/+39
| | | | - cleaning up unnecessary code (that is duplicated in datetime built-in)
* - converted timedelta normalization to be fractions of hourscce2006-01-081-50/+69
| | | | - updated docstrings
* - added some nicer datetime parsing codecce2006-01-081-0/+356
|
* Added a little argument to profile.profile_decorator, to allow conditional ↵ianb2006-01-071-0/+15
| | | | profiling; added an entry point for the built-in http server, so you can use egg:Paste#http in paste.deploy files; small doc update; got rid of MANIFEST.in, which I don't believe is actually needed to make a proper package (and might actually hurt, since setuptools handles things itself when MANIFEST.in doesn't exist).
* Added docstrings to some modulesianb2006-01-041-3/+2
|
* (no commit message)cce2006-01-021-3/+2
|
* Added a bunch of module docstrings so the module index looks nicer; also ↵ianb2005-12-301-1/+4
| | | | marked deprecated modules so they don't show up in the module index that Pudge creates
* (no commit message)cce2005-12-301-1/+1
|
* - added option to not start the server loop to httpserver.servecce2005-12-301-6/+7
|
* - forgot to remove debugging infocce2005-12-291-1/+4
| | | | | | | | | - update httpserver to not include HTTP_CONTENT_TYPE or HTTP_CONTENT_LENGTH header fields as discussed on Web-Sig oh, last change had one other thing: - update ContentType and ContentLength to use the CGI variables rather than the corresponding HTTP_ variables in environ
* - wrappers are not the way to go, will be doing some changescce2005-12-271-113/+0
| | | | to httpheaders to include some of this functionality
* - added normalize_headers to paste.httpheaders which sorts a setcce2005-12-261-10/+46
| | | | | | | | | | 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)
* - making HTTPHeader not be a string object so that it isn'tcce2005-12-261-18/+3
| | | | | | | | | accidently used as a key in an WSGI or header tuple - distinguishing between multi-value (but single-line) and multi-entry headers such as WWW-Authenticate and Set-Cookie as discussed on the Web-Sig - removed 'dict' like stuff from environ wrapper so that it isn't accidently used as an environ replacement
* - made paste.util.wrapper.EnvironWrapper stateless (and not a dict)cce2005-12-261-13/+28
| | | | | to comply with WSGI standards; do not use this as an environ replacement
* - adding environ wrapper to paste.utilcce2005-12-261-0/+77
| | | | (response_headers are next/soon)
* - added Range: functionality to FileAppcce2005-12-251-6/+10
| | | | | | - removed unnecessary trailing whitespace in fixture.py - no longer reporting socket failures in httpserver - fixed some caching issues /w fileapp
* - got rid of unnecessary trailing spaces in httpexceptionscce2005-12-231-2/+60
| | | | | | | | | - made error messages us \r\n rather than just \n in httpexceptions to comply with various browsers - added tests to check FileApp - added support for handling 100 Continue in httpserver - fixingup dumpenviron in wsgilib to dump message body - misc changes to fileapp (mostly documentation)
* Copied over scgiserver from an old tag, so Titus can do some work on itianb2005-12-231-0/+148
|
* - removed unnecessary spaces in several filescce2005-12-221-1/+2
| | | | - added DataApp to paste.fileapp
* - simply punt socket errors; don't even log themcce2005-12-191-4/+6
|
* removing unnecessary paste.exception stuff from httpservercce2005-12-191-9/+1
|
* A bunch of little import cleanups noted from pyflakesianb2005-12-182-3/+7
|
* - removed super() usage in httpserver and just copied the codecce2005-12-171-1/+2
| | | | - replaced plain sha with hmac in cookie.py
* added stuff for HTTP/1.1 compliance to httpservercce2005-12-151-0/+16
|
* removing extra spacescce2005-12-151-16/+16
|
* removing unnecessary error loggingcce2005-12-151-1/+5
|
* expose protocol_version on serve() functioncce2005-12-151-3/+7
|
* moving things around in httpserver, inconsequentialcce2005-12-151-8/+10
|
* updated to use repr() when reporting unhandled exceptions; made it possible ↵cce2005-12-151-6/+19
| | | | to override server_version