Skip to content

Releases: jawah/kiss-headers

kiss-headers

28 Mar 17:07
71dfec3
Compare
Choose a tag to compare

Changes : from PR #10

  • Feature : You can parse Response from encode/httpx package. Just use parse_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

22 Mar 19:05
0ec3aa0
Compare
Choose a tag to compare

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

20 Mar 21:49
Compare
Choose a tag to compare

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

18 Mar 20:42
5f711c7
Compare
Choose a tag to compare

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 and Header 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

16 Mar 23:10
7ece553
Compare
Choose a tag to compare

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

16 Mar 13:15
1c775c9
Compare
Choose a tag to compare

Changes :

  • Bugfix : First batch of minors fixes after initial release #2

Kiss-Headers

15 Mar 20:21
Compare
Choose a tag to compare

first release