summaryrefslogtreecommitdiff
path: root/paste
Commit message (Collapse)AuthorAgeFilesLines
...
* add .response() method to HTTPException objects (from damjam)ianb2007-02-191-4/+15
|
* make guess_type overridableianb2007-02-191-1/+4
|
* Prefer ETags over Last-Modified when calculating 304sianb2007-02-181-12/+20
|
* reindent r6247pjenvey2007-02-181-14/+13
|
* added WSGIRequest.__repr__pjenvey2007-02-181-0/+20
|
* o self.__class__.__module__ is more appropriate than __name__ herepjenvey2007-02-181-3/+3
| | | | o no need to pad the pointer address
* fixed the AuthCookieHandler examplepjenvey2007-02-161-1/+1
| | | | (thanks Damjan Georgievski)
* Also calculate QUERY_STRING in translogger before dispatching the requestianb2007-02-151-2/+2
|
* added __all__pjenvey2007-02-151-0/+2
|
* removed deprecated current_obj/push_object/pop_boject methodspjenvey2007-02-151-26/+0
|
* Figure out the request URI earlier in translogger (so later rewrites won't ↵ianb2007-02-151-3/+5
| | | | change it). Quote the path in the logs
* Added a command-line form of the template to fill static filesianb2007-02-151-0/+75
|
* In debug.watchthreads: better time formatting; fix expanding environ bugianb2007-02-151-7/+21
|
* alphabatize __all__pjenvey2007-02-051-8/+6
| | | | | followup to r6219 (thanks eleftherios)
* added add_start_close, catch_errors_app and unicode_app_iter to __all__pjenvey2007-02-051-6/+7
|
* make sure missing attribute raise an AttributeError in bunches, not KeyErrorianb2007-02-051-1/+4
|
* Do not set REMOTE_HOST, as it requires a reverse DNS lookupianb2007-02-051-1/+11
|
* Allow httpserver's readline to take an optional argument (max length) which ↵ianb2007-02-012-3/+3
| | | | the cgi module uses.
* Fix for FileApp replying to non-GET requests, and giving the body for HEAD ↵1.2ianb2007-02-011-2/+16
| | | | requests
* path from Robert Almeida, to re-enable the internal redirect to the login ↵ianb2007-02-011-5/+5
| | | | form. Dunno how it should really work, but eh
* Remove long-deprecated modules (most moved elsewhere -- actually removing ↵ianb2007-02-016-55/+1
| | | | now); move mimeparse to paste.util.mimeparse
* Fix up docstrings for reST validityianb2007-02-014-7/+11
|
* Add most doctests to the automatic testing; fix some problems in testsianb2007-02-012-10/+10
|
* Fix up looperianb2007-02-011-8/+50
|
* Switching mime-type parsing to be a WSGIRequest function instead of attribute.bbangert2007-01-311-20/+9
|
* Added WSGIRequest.mimetypes property and unit tests for it.bbangert2007-01-311-2/+20
|
* Patching mimeparse module to include desired_matches function intended for a ↵bbangert2007-01-311-1/+25
| | | | server to decide the precedence of mime-types to return.
* rewrite watchthreads to use the new paste.util.templateianb2007-01-311-65/+80
|
* Added a looper object, to make template looping easierianb2007-01-311-0/+107
|
* Add a bunch object, and add __traceback_hide__ locals to trim down exceptionsianb2007-01-311-1/+40
|
* Added an HTML-specific subclassianb2007-01-311-2/+76
|
* Added a templating languageianb2007-01-311-0/+473
|
* typopjenvey2007-01-311-1/+1
| | | | (thanks eleftherios)
* ensure UnicodeMultiDict allows non basestring keys to pass throughpjenvey2007-01-311-1/+4
|
* Added WSGIRequest.languages parameter which handles parsing of ↵bbangert2007-01-311-4/+41
| | | | Accept-Languages header and a unit test to verify the defaults.
* Limit number of bytes returned by environ['wsgi.input'].read(), so you can't ↵ianb2007-01-301-0/+63
| | | | read past end
* make paste.httpserver support all request methodsianb2007-01-301-2/+16
|
* Adding mime-type parsing module.bbangert2007-01-301-0/+153
|
* Adding language parsing HTTP header code.bbangert2007-01-301-1/+35
|
* Allow killing of errant threads through the web application (also add a ↵ianb2007-01-303-45/+184
| | | | module to kill threads with ctypes, and a method to kill threads from the httpserver thread pool)
* Add app to monitor and summarize the status of any wedged threads. Also a ↵ianb2007-01-301-0/+169
| | | | handy config file for testing some stuff, and removing a config file that is long defunct
* Add a variable to track the requests currently being processed by the ↵ianb2007-01-301-3/+18
| | | | httpserver (to see wedged threads)
* Allow list of status in test callsianb2007-01-241-0/+7
|
* don't depend on pkg_resources in urlparserpjenvey2007-01-231-1/+8
| | | | | Patch by whit537 Fixes #149
* added optional pre and post do_request hooks into TestApppjenvey2007-01-231-1/+15
|
* by default don't have WSGIRequest decode parameter keys when unicode params ↵pjenvey2007-01-222-27/+43
| | | | | | are expected. allow this behavior when WSGIRequest.decode_param_names is enabled
* small changespjenvey2007-01-221-6/+9
|
* doc markuppjenvey2007-01-211-1/+1
|
* o added UnicodeMultiDict, a MultiDict wrapper that decodes its retrievedpjenvey2007-01-212-47/+284
| | | | | | | | | | | | | contents to unicode on the fly. Any FieldStorages encountered are cloned with their name and filename fields decoded o Added WSGIRequest.charset and errors. When charset is set, WSGIRequest's params/GET/POST return UnicodeMultiDicts. charset and errors inherit their default values from the WSGIRequest.defaults StackedObjectProxy dict o deprecated wsgiwrappers.settings: use wsgiwrappers.WSGIResponse.defaults instead o allow WSGIResponse to let unicode responses pass through when no encoding is set (instead of defaulting to iso-8859-1). In case someone wants to deal with unicode later in their WSGI stack
* removed unused importpjenvey2007-01-201-1/+0
|