summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* assert send_http_response was triggered by an HTTPException, incase it's being0.9.7pjenvey2006-08-111-0/+2
| | | | used incorrectly
* Updating HTTPNotModified so it works with ETag. This still needs to be fixed ↵bbangert2006-07-221-1/+2
| | | | to require either an ETag or a Date header.
* Added copyright header to a bunch of filesianb2006-06-131-0/+2
|
* Fixed issue with Safari and http exceptions since Safari sends */* as ↵bbangert2006-05-291-1/+2
| | | | Accept, lets return text/html if the Accept is */* or has html in it.
* typo in last commitianb2006-02-281-1/+1
|
* Make sure that even if content-type is passed in to the HTTPExceptions ↵ianb2006-02-281-4/+6
| | | | constructor (as a header) we overwrite the header with the actual content type we are sending
* Added a location method to redirect exceptionsianb2006-02-281-0/+7
|
* Added relative_redirect classmethod constructor to redirect exceptionsianb2006-02-021-0/+13
|
* The last two commits fixed the wrong thing; urlparser now back to how it ↵ianb2006-01-261-5/+10
| | | | was, and fix httpexceptions.wsgi_application to not try to use dict methods on the header list
* Don't html-quote HTML commentsianb2006-01-221-6/+6
|
* Allow the httpexceptions to be 'themeable'cce2006-01-031-9/+14
|
* - cleaned up documentation for paste.auth.cookiecce2005-12-311-45/+49
| | | | | | | | - cleaned up documentation for paste.auth.form - cleaned up documentation for paste.auth.basic - converted InternalServerError into its own class (httpexceptions) - converted BadRequest into its own class (httpexceptions) - a few minor cleanups
* - fixes to make auto-documentation work nicercce2005-12-301-16/+47
| | | | question: how do I get pudge to document a 'private' class?
* (no commit message)cce2005-12-301-1/+1
|
* - fixing my awful spellingcce2005-12-301-5/+5
|
* - added Range: functionality to FileAppcce2005-12-251-1/+1
| | | | | | - 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-65/+69
| | | | | | | | | - 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)
* - made __call__ for an HTTPException be the same as wsgi_applicationcce2005-12-231-0/+1
| | | | | | | | - 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)
* Improve error messages in assertionsianb2005-12-211-4/+11
|
* Handle case of no headers and proper error messageianb2005-12-191-1/+1
|
* A bunch of little import cleanups noted from pyflakesianb2005-12-181-1/+0
|
* Moved all the internal uses of wsgilib to their correct forms nowianb2005-12-181-1/+2
|
* Added a fix for httpexceptions when an exception is raised by the iterator, ↵ianb2005-12-151-22/+11
| | | | along with another error catching function for making it work
* Let HTTPExceptions in the app iterator bubble up for now, because by using ↵ianb2005-12-141-4/+3
| | | | the generator we aren't calling the close method like we should
* Warn at the right stacklevelianb2005-12-141-1/+1
|
* make_middleware doesn't use global_conf, not sure why its a required arg. ↵bbangert2005-12-131-1/+1
| | | | Eval exception calls middleware without a global_conf though. Updated evalexception/middleware to use make_middleware instead, and make_middleware to not require global_conf.
* removed debug print; keep httpexceptions.middleware signature, which matches ↵ianb2005-12-131-3/+2
| | | | make_middleware not HTTPExceptionHandler
* - redirects should include commentscce2005-12-131-1/+1
| | | | - testserver was importing wrong modules
* Deprecate the wsgilib.error_response functions; stop using them internally ↵ianb2005-12-131-1/+2
| | | | as well, in preference of httpexceptions.*.wsgi_application
* Deprecated httpexceptions.middleware; split the httpexceptions middleware ↵ianb2005-12-131-2/+23
| | | | from its paste.deploy setup function
* Fixed conflicts I accidentally committedianb2005-12-131-9/+0
|
* Merged changes from cce branch (r3727:HEAD/4008); the branch is now in sync ↵ianb2005-12-131-111/+428
| | | | with trunk
* when a spelling error makes you pull your hair outcce2005-12-081-1/+1
|
* code not codedcce2005-12-061-1/+1
|
* fixed bug /w html() method of HTTPException where the environ was being ↵cce2005-12-061-1/+1
| | | | accidently updated; and code that prevented _HTTPMove from working properly
* use proxy, not user proxycce2005-12-051-1/+1
|
* Add a hook to the error middleware to ignore (re-raise) exceptions in ↵ianb2005-11-051-1/+5
| | | | env[paste.expected_exceptions]; also made httpexceptions put this in. This way if httpexceptions wraps error middleware, it'll still work
* Add a debugging hook to disable httpexceptions dynamicallyianb2005-11-041-0/+5
|
* Added license comment to all substantive filesianb2005-08-311-0/+3
|
* paste.deployified lintianb2005-08-221-1/+1
|
* paste.deployified httpexceptionsianb2005-08-221-1/+1
|
* Added documentation to httpexceptions, and a special extractor for ↵ianb2005-05-221-0/+10
| | | | HTTPException subclasses
* A bunch of pylint-inspired changes; all minor code cleanupianb2005-05-171-1/+1
|
* Removed printsianb2005-05-141-2/+0
|
* Added start_response exc_info argumentianb2005-05-141-4/+6
|
* The order of arguments was offianb2005-05-071-1/+2
|
* Renamed package itselfianb2005-04-221-0/+233