Kiss-headers

Latest version: v2.4.3

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

Scan your dependencies

Page 1 of 5

2.4.3

The function `parse_it` was improved.

- Added support for niquests.Response
- Added support for kiss_headers.Headers (deep copy returned)

2.4.2

- Fixed `parse_it` when given **Mapping** contains unattended types (outside str and bytes)

2.4.1

- Fixed an issue where `parse_it` is given a Mapping-like containing `bytes` in values or keys and crashes on `decode_partials`.
- Added hints on `Header` (common attributes) and `Headers` (standard headers).

2.4.0

Long overdue refresh for this package.

**Added**
- Support for JSON value in a header. It is now interpreted.
- Explicit support for Python 3.12

**Fixed**
- Incorrectly split a header when it contains a valid JSON (due to the comma delimiter)

**Removed**
- Support for Python 3.6

**Changed**
- (internal) Changed absolute import to relative ones.
- The generic `T` passed to `get_polymorphic` is now bound to `CustomHeader` and covariants.

2.3.1

*Changes:*

Explicit support for Python 3.11, migrate to GHA, and add `_all_` to top-level init.
Minor package refresh.

2.3.0

*Changes :*

- **Feature:** Offer an opinionated way to un/serialize headers 45
- **Bugfix:** Fix inserting attribute in header using index when header is empty ad546fe31d2f79e28f86cadec2fef35b5679bbb1
- **Miscellaneous:** Add python 3.10 to supported interpreters

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.