Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
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
::
from httpexceptor import HTTPExceptor, HTTP404
# register middleware
app = HTTPExceptor(app)
# ...
if unavailable:
raise HTTP404('resource unavailable')
FAQs
WSGI middleware to handle HTTP responses using exceptions
We found that httpexceptor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.