zExceptions contains common exceptions used in Zope2.
Project description
Overview
zExceptions contains common exceptions and helper functions related to exceptions as used in Zope 2.
Changelog
3.6.1 (2017-05-17)
Increase Python 3 compatibility
3.6 (2017-02-05)
Add realm as an argument to unauthorized exceptions, its presence causing a WWW-Authenticate header to be emitted.
Set location header during __init__ of redirect exceptions.
3.5 (2017-02-05)
Drop support for Python 3.3, add support for Python 3.6.
Use str(self) as detail if it is not set.
Add a setHeader method to add a response header to an HTTPException.
upgradeException now also supports finding an HTTPException class with the same name as a non-HTTPException class.
3.4 (2016-09-08)
Use HTTPException.body_template when title and detail are set.
Add new title and detail attributes to HTTPException.
3.3 (2016-08-06)
Add exception classes for all HTTP status codes.
3.2 (2016-07-22)
Implement basic subset of Response features in HTTPException class.
3.1 (2016-07-22)
Mark exceptions with appropriate zope.publisher interfaces.
Add a new common base class zExceptions.HTTPException to all exceptions.
3.0 (2016-04-03)
Add compatibility with PyPy and Python 3.
Arguments to the Unauthorized exception are assumed to be utf8-encoded if they are bytes.
2.13.0 (2010-06-05)
Released as separate package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file zExceptions-3.6.1.tar.gz
.
File metadata
- Download URL: zExceptions-3.6.1.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45463905ce506f6f774a69b4ae0199a8bb6d0bffbf5ec6045b6792369c2e8a58 |
|
MD5 | 2a5e48f2f24bfe9e5b023a10e005036f |
|
BLAKE2b-256 | cdec4f1634a66f68c88b593144bea208d13735697c5551a4e02df6112eb1290a |