Prawcore

Latest version: v2.4.0

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

Scan your dependencies

Page 6 of 8

0.0.14

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

**Added**

- Add ``ServerError`` exception for 502, 503, and 504 HTTP status codes that is only
raised after three failed attempts to make the request.
- Add ``json`` parameter to ``Session.request``.

0.0.13

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

**Added**

- Automatically attempt to refresh access tokens when making a request if the access
token is expired.

**Fixed**

- Consider access tokens expired slightly earlier than allowed for to prevent
InvalidToken exceptions from occuring.

0.0.12

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

**Added**

- Handle 0-byte HTTP 200 responses.

0.0.11

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

**Added**

- Add a ``NotFound`` exception.
- Support 404 "Not Found" HTTP responses.

0.0.10

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

**Added**

- Add a ``BadRequest`` exception.
- Support 400 "Bad Request" HTTP responses.
- Support 204 "No Content" HTTP responses.

0.0.9

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

**Added**

- Support 201 "Created" HTTP responses used in some v1 endpoints.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.