]> git.ipfire.org Git - thirdparty/httpx.git/commit
Support header comparisons with dict or list. (#1326)
authorMusale Martin <martinmshale@gmail.com>
Fri, 25 Sep 2020 11:28:34 +0000 (14:28 +0300)
committerGitHub <noreply@github.com>
Fri, 25 Sep 2020 11:28:34 +0000 (12:28 +0100)
commit815ef94ed93a6fd1099074511724ff7b891752b3
tree71d0aaa8e51c62577d03032fcf79ab82aa583d5f
parent666cbbdfe8259e7b6363a2eec5df8ab60e7b6003
Support header comparisons with dict or list. (#1326)

* Support header comparisons with dict or list.

* Add check for no headers item

* Fixup testcases affected by headers comparison using dict or list

* Update test_responses.py

Co-authored-by: Tom Christie <tom@tomchristie.com>
httpx/_models.py
tests/models/test_headers.py
tests/models/test_requests.py
tests/models/test_responses.py