Path to this page:
Subject: CVS commit: pkgsrc/www/py-test-httpx
From: Adam Ciarcinski
Date: 2023-09-06 22:05:12
Message id: 20230906200512.DCA09FBDB@cvs.NetBSD.org
Log Message:
py-test-httpx: updated to 0.24.0
0.24.0
Added
- Added `match_json` parameter which allows matching on JSON decoded body \
(matching against python representation instead of bytes).
Changed
- Even if it was never documented as a feature, the `match_headers` parameter \
was not considering header names case when matching.
- As this might have been considered a feature by some users, the fact that \
`match_headers` will now respect casing is documented as a breaking change.
Fixed
- Matching on headers does not ignore name case anymore, the name must now be \
cased as sent (as some servers might expect a specific case).
- Error message in case a request does not match will now include request \
headers with mismatching name case as well.
- Error message in case a request does not match will now include request \
headers when not provided as lower-cased to `match_headers`.
- Add `:Any` type hint to `**matchers` function arguments to satisfy strict type \
checking mode in [`pyright`](https://microsoft.github.io/pyright/#/).
Files: