issues
search
getsentry
/
responses
A utility for mocking out the Python Requests library.
Apache License 2.0
4.14k
stars
354
forks
source link
[#651] regex compatability for headers matching
#662
Closed
geetptl
closed
1 year ago
geetptl
commented
1 year ago
Attempt at #651.
Changes in
header_matcher
function.
Instead of using simple list equality, it now checks for either regex or simple string check.
Added test
test_request_matches_headers_regex
Attempt at #651.
header_matcher
function.test_request_matches_headers_regex