Releases: jawah/kiss-headers
Releases · jawah/kiss-headers
kiss-headers
Changes : from PR #10
- Feature : You can parse Response from
encode/httpx
package. Just useparse_it()
method. - Feature : Possibility to generate a JSON-string from a Headers object using
to_json()
method. - Feature : Embed the capability to cast any header and Headers to
bytes
. - Improvement : We've successfully passed
mypy
type-lint check. - Feature : Allow to lock type output to List of Header instead of second guessing if List or a Header using
lock_output_type()
method from kiss-headers package init. - Bugfix : Automatically cast object to str if trying to assign to Header anything else than
str
.
kiss-headers
Changes :
- Improvement : No more dependencies required.
- Style : We embrace the black code style.
- Feature : Add method items() to Headers.
- Bugfix : Fetch attribute from Header even if key is named after a reserved keyword or start with digit.
- Feature : Add the possibility to assign attribute of an Header using property notation or using bracket style (#8).
Full documentation is available at www.kiss-headers.tech and it is still work in progress. But it is enough to get started properly.
kiss-headers
Changes : PR #5
- Bugfix : Check if provided raw bytes headers are encoded using ASCII or UTF-8.
- Bugfix : Provide a better output using case insensible dict for the
to_dict
method. - Improvement : Act like a regular dict as is act like an object.
- Improvement : Writing missing docstring for public package and for all methods of Headers and Header.
- Type-hint : Adding From header type hint on Headers class.
kiss-headers
Changes : PR #4
- Bugfix : Accessing header that are named the same as a reserved python keyword.
From: eg
- Feature : Possibility to invoke deep copy on
Headers
andHeader
objects. - Feature : Subtract header from Headers by name (string) or object using operator
-
- Feature : Add header object to headers using operator
+
Thank to all early adopters !
kiss-headers
Changes :
- Support : Add samesite and domain hint for Header class
- Bugfix : Should not allow key/attribute to have space in it
- Bugfix : Parse headers even if first n line(s) are not headers
- Feature : Support natively responses from Requests and extract headers properly
kiss-headers
Changes :
- Bugfix : First batch of minors fixes after initial release #2
Kiss-Headers
first release