Adam Hopkins 1a63b9bec0
Add convenience methods for cookie creation and deletion (#2706)
* Add convenience methods for cookie creation and deletion

* Restore del

* Backwards compat, forward thinking

* Add delitem deprecation notice

* Add get full deprecation notice

* Add deprecation docstring

* Better deprecation docstring

* Add has_cookie

* Same defaults

* Better deprecation message

* Accessor annotations

* make pretty

* parse cookies

* Revert quote translator

* make pretty

* make pretty

* Add unit tests

* Make pretty

* Fix unit tests

* Directly include unquote

* Add some more unit tests

* Move modules into their own dir

* make pretty

* cleanup test imports

* Add test for cookie accessor

* Make test consistent

* Remove file

* Remove additional escaping

* Add header style getattr for hyphens

* Add test for cookie accessor with hyphens

* Add new translator

* Parametrize test_request_with_duplicate_cookie_key

* make pretty

* Add deprecation of direct cookie encoding

* Speedup Cookie creation

* Implement prefixes on delete_cookie

* typing changes

* Add passthru functions on response objects for setting cookies

* Add test for passthru

---------

Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
2023-03-21 11:25:35 +02:00
..
2021-03-21 09:47:21 +02:00
2021-03-21 15:03:54 +02:00
2022-12-18 14:40:38 +02:00
2022-06-27 11:19:26 +03:00
2022-06-27 11:19:26 +03:00
2022-06-27 11:19:26 +03:00
2021-12-24 00:30:27 +02:00
2022-09-29 01:07:09 +03:00
2022-06-27 11:19:26 +03:00
2021-06-21 15:10:26 +03:00
2021-04-05 18:01:48 +03:00
2022-06-28 15:25:46 +03:00
2022-12-17 23:46:22 +02:00
2022-06-27 11:19:26 +03:00
2021-02-07 11:38:37 +02:00
2021-08-05 22:55:42 +03:00
2022-06-27 11:19:26 +03:00
2021-02-08 12:18:29 +02:00
2022-06-27 11:19:26 +03:00