Metadata-Version: 1.0
Name: httpexceptor
Version: 1.1.1
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
        
        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_
        
        
        Usage
        -----
        
        ::
        
            from httpexceptor import HTTPExceptor, HTTP404
        
            # register middleware
            app = HTTPExceptor(app)
        
            # ...
        
            if unavailable:
                raise HTTP404('resource unavailable')
        
        
        .. _TiddlyWeb: http://tiddlyweb.com
        
Platform: Posix; MacOS X; Windows
