]> git.ipfire.org Git - thirdparty/httpx.git/commit
Relax `HeaderTypes` type alias definition (#2317)
authorWill Frey <jfrey89@gmail.com>
Tue, 30 Aug 2022 11:46:19 +0000 (07:46 -0400)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2022 11:46:19 +0000 (12:46 +0100)
commitccd98b1a6de221fa4b497de7f7bdf89b1347024d
tree5b1e1a02a78b19feac50d6b28c4ddadfd59997be
parenta754e71f6fdec1c519beb0303579091288084176
Relax `HeaderTypes` type alias definition (#2317)

* Relax `HeaderTypes` type alias definition

This replaces `Dict[..., ...]` with `Mapping[..., ...]` in the union definition for `HeaderTypes`. Closes #2314.

* Update _models.py

Co-authored-by: Tom Christie <tom@tomchristie.com>
httpx/_models.py
httpx/_types.py