Zexceptions

Latest version: v5.0

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

3.6.1

------------------

- Increase Python 3 compatibility

3.6

----------------

- 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

----------------

- 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

----------------

- Use `HTTPException.body_template` when title and detail are set.

- Add new title and detail attributes to HTTPException.

3.3

----------------

- Add exception classes for all HTTP status codes.

3.2

----------------

- Implement basic subset of Response features in HTTPException class.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.