Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged in marsupial2k/paste (pull request #6) | Marc Abramowitz | 2015-05-11 | 1 | -0/+6 |
|\ | | | | | | | Add HTTP exception for new code 429 "Too Many Requests" | ||||
| * | Add HTTP 429 "Too Many Requests" | Neil Williams | 2011-12-23 | 1 | -0/+6 |
| | | | | | | | | http://www.ietf.org/id/draft-nottingham-http-new-status-03.txt | ||||
* | | Fix HTTPException.make_body() on Python 3 | Victor Stinner | 2015-04-21 | 1 | -3/+4 |
| | | | | | | | | Only encode values on Python 2: Python 3 expects text, not bytes. | ||||
* | | Copy the dictionary of global variables to be able to iterate over it and | Victor Stinner | 2014-03-18 | 1 | -1/+1 |
| | | | | | | | | modify global variables | ||||
* | | Python 3: Replace types.ClassType with six.class_types | Cyril Roelandt | 2014-03-18 | 1 | -2/+1 |
| | | |||||
* | | Python 3: Replace "for name, value in dict.items()" with "for name, value in ↵ | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 |
| | | | | | | | | six.iteritems(dict)" | ||||
* | | Python 3: Use six types for strings | Cyril Roelandt | 2014-03-18 | 1 | -4/+5 |
| | | | | | | | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type) | ||||
* | | Python 3: Replace "except Exception, exc" with "except Exception as exc:" | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 |
|/ | |||||
* | Just a bit more paranoia in quoting comments, though I wasn't able to ↵ | Ian Bicking | 2010-09-14 | 1 | -1/+1 |
| | | | | reproduce any actual issue | ||||
* | Fix XSS attacks as reported by Tim Wintle | Ian Bicking | 2010-06-15 | 1 | -6/+5 |
| | |||||
* | Add a warning about the unused warning_level parameter | ianb | 2009-05-05 | 1 | -9/+4 |
| | |||||
* | fix that last commit | ianb | 2009-04-24 | 1 | -1/+1 |
| | |||||
* | Avoid some unicode errors in httpexceptions | ianb | 2009-04-24 | 1 | -7/+9 |
| | |||||
* | Add a note about httpexceptions and generator applications (#242) | ianb | 2008-03-26 | 1 | -0/+4 |
| | |||||
* | Simplify the way HTTPExceptionHandler catches HTTPExceptions. You can no ↵ | ianb | 2007-09-21 | 1 | -11/+3 |
| | | | | longer raise httpexceptions in your app_iter | ||||
* | Updated the way httpexception response objects are created, in response to ↵ | ianb | 2007-03-06 | 1 | -1/+1 |
| | | | | damjam's comment on #156 | ||||
* | add .response() method to HTTPException objects (from damjam) | ianb | 2007-02-19 | 1 | -4/+15 |
| | |||||
* | convert old-style classes to new-style classes | pjenvey | 2007-01-05 | 1 | -1/+1 |
| | |||||
* | Make WWW-Authenticate header not required for httpexceptions.HTTPUnauthorized | ianb | 2006-11-01 | 1 | -1/+0 |
| | |||||
* | Paste should not depend upon other paste modules, such | cce | 2006-09-21 | 1 | -4/+4 |
| | | | | | | | | | 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 | ||||
* | Fixing a bug when unicode is used in exceptions, the | cce | 2006-09-11 | 1 | -2/+2 |
| | | | | | *_headers functions can be called directly w/o the module name prefix. | ||||
* | reverting my last change | cce | 2006-09-11 | 1 | -4/+2 |
| | |||||
* | Adding HTTPException.detail_template class variable to permit | cce | 2006-09-11 | 1 | -2/+4 |
| | | | | | specializations to wrap a detail with contextual information. This shouldn't change any existing behavior or APIs. | ||||
* | assert send_http_response was triggered by an HTTPException, incase it's being0.9.7 | pjenvey | 2006-08-11 | 1 | -0/+2 |
| | | | | used incorrectly | ||||
* | Updating HTTPNotModified so it works with ETag. This still needs to be fixed ↵ | bbangert | 2006-07-22 | 1 | -1/+2 |
| | | | | to require either an ETag or a Date header. | ||||
* | Added copyright header to a bunch of files | ianb | 2006-06-13 | 1 | -0/+2 |
| | |||||
* | Fixed issue with Safari and http exceptions since Safari sends */* as ↵ | bbangert | 2006-05-29 | 1 | -1/+2 |
| | | | | Accept, lets return text/html if the Accept is */* or has html in it. | ||||
* | typo in last commit | ianb | 2006-02-28 | 1 | -1/+1 |
| | |||||
* | Make sure that even if content-type is passed in to the HTTPExceptions ↵ | ianb | 2006-02-28 | 1 | -4/+6 |
| | | | | constructor (as a header) we overwrite the header with the actual content type we are sending | ||||
* | Added a location method to redirect exceptions | ianb | 2006-02-28 | 1 | -0/+7 |
| | |||||
* | Added relative_redirect classmethod constructor to redirect exceptions | ianb | 2006-02-02 | 1 | -0/+13 |
| | |||||
* | The last two commits fixed the wrong thing; urlparser now back to how it ↵ | ianb | 2006-01-26 | 1 | -5/+10 |
| | | | | was, and fix httpexceptions.wsgi_application to not try to use dict methods on the header list | ||||
* | Don't html-quote HTML comments | ianb | 2006-01-22 | 1 | -6/+6 |
| | |||||
* | Allow the httpexceptions to be 'themeable' | cce | 2006-01-03 | 1 | -9/+14 |
| | |||||
* | - cleaned up documentation for paste.auth.cookie | cce | 2005-12-31 | 1 | -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 nicer | cce | 2005-12-30 | 1 | -16/+47 |
| | | | | question: how do I get pudge to document a 'private' class? | ||||
* | (no commit message) | cce | 2005-12-30 | 1 | -1/+1 |
| | |||||
* | - fixing my awful spelling | cce | 2005-12-30 | 1 | -5/+5 |
| | |||||
* | - added Range: functionality to FileApp | cce | 2005-12-25 | 1 | -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 httpexceptions | cce | 2005-12-23 | 1 | -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_application | cce | 2005-12-23 | 1 | -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 assertions | ianb | 2005-12-21 | 1 | -4/+11 |
| | |||||
* | Handle case of no headers and proper error message | ianb | 2005-12-19 | 1 | -1/+1 |
| | |||||
* | A bunch of little import cleanups noted from pyflakes | ianb | 2005-12-18 | 1 | -1/+0 |
| | |||||
* | Moved all the internal uses of wsgilib to their correct forms now | ianb | 2005-12-18 | 1 | -1/+2 |
| | |||||
* | Added a fix for httpexceptions when an exception is raised by the iterator, ↵ | ianb | 2005-12-15 | 1 | -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 ↵ | ianb | 2005-12-14 | 1 | -4/+3 |
| | | | | the generator we aren't calling the close method like we should | ||||
* | Warn at the right stacklevel | ianb | 2005-12-14 | 1 | -1/+1 |
| | |||||
* | make_middleware doesn't use global_conf, not sure why its a required arg. ↵ | bbangert | 2005-12-13 | 1 | -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 ↵ | ianb | 2005-12-13 | 1 | -3/+2 |
| | | | | make_middleware not HTTPExceptionHandler |