]> git.ipfire.org Git - thirdparty/starlette.git/commit
Add union operators to MutableHeaders (#1240)
authormanlix <manlix@yandex.ru>
Wed, 16 Feb 2022 10:58:56 +0000 (13:58 +0300)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 10:58:56 +0000 (10:58 +0000)
commitb1ae0c3621034f1531b9983389ce90be8d140bc6
tree6af4f6660eefb90f87ad63e38de8dd253eda739c
parentc91014dae84012cb59c1c22ae058aa9733212284
Add union operators to MutableHeaders (#1240)

* Add union operators to MutableHeaders (#1239)

* Apply suggestions from code review

* Use `TypeError`, not `NotImplemented`.
* Add `# type: ignore` to deliberate incorrect usage of types in tests.

* Apply suggestions from code review

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
starlette/datastructures.py
tests/test_datastructures.py