Metadata-Version: 1.1
Name: httpexceptor
Version: 1.4.0
Summary: WSGI middleware to handle HTTP responses using exceptions
Home-page: https://github.com/tiddlyweb/httpexceptor
Author: FND
Author-email: cdent@peermore.com
License: LICENSE
Description: httpexceptor |buildstatus|
        
        .. |buildstatus| image:: https://secure.travis-ci.org/tiddlyweb/httpexceptor.png
            :target: http://travis-ci.org/tiddlyweb/httpexceptor
            :alt: build status
        
        WSGI middleware to handle HTTP responses using exceptions
        
        provides a group of exception classes representing non-2xx HTTP statuses, along
        with a WSGI middleware to turn the exceptions into proper HTTP headers
        
        originally extracted from `TiddlyWeb <http://tiddlyweb.com>`_
        
        source repository: https://github.com/tiddlyweb/httpexceptor
        
        
        Usage
        -----
        
        ::
        
            from httpexceptor import HTTPExceptor, HTTP404
        
            # register middleware
            app = HTTPExceptor(app)
        
            # ...
        
            if unavailable:
                raise HTTP404('resource unavailable')
        
Platform: Posix; MacOS X; Windows
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
