- **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
2.2.4
*Changes :*
- **Bugfix:** Function `is_legal_header_name` approved some illegal header name. 41 - **Miscelaneous:** Added MANIFEST.in file - **Other:** Method `values()` of the class `Headers` was returning `NotImplemented`, now raise `NotImplementedError` instead.
2.2.3
*Changes:* - **Bugfix:** The double-quote character wasn't handled correctly inside an attrs value. - **Bugfix:** Cannot pass a BufferedReader (fp) to the parse_it function. - **Bugfix:** Fix the unfolding inside header content.
2.2.2
*Changes:* This is a bugfix release. (36)
- **Bugfix:** __gt__ and __lt__ implemented but missing __ge__ and __le__ in Header. - **Bugfix:** Attributes.remove() method would fail to remove properly if with_value is None and index is not provided. - **Bugfix:** Support negative index in Attributes.insert() method. - **Bugfix:** Delete an attribute no longer remove members that are named after the target key. 35 - **Improvement:** Docstring additions.
2.2.1
This is a bugfix release. See PR 34
2.2.0
*Changes:*
- **Improvement:** Implement insert() method on Headers class. - **Feature:** Introducing the `Attributes` class in models. Attributes/members are now ordered by default. - **Improvement:** Add pop() and insert() methods on Header class. - **Bugfix:** Unescape the double quote char in the cookie value when using SetCokies or Cookie classes. - **Improvement:** Implement `valued_attrs` property on Header to extract a list of distinct attributes that have at least one value attached to them.
The biggest improvement is that the Header class now acts ordered on its members and attributes/keys/values. See PR 32
The package will most likely go into feature freeze until 3.0-dev. The current focus will be around tests/docs and issues addressed. Enjoy 🎉 *Thank all present and future adopters.*