Overview

Request 1124087 accepted

- update to 0.26.0:
* Added `proxy_url` parameter which allows matching on proxy
URL.
* Requires `httpx`==0.25.\*
* Added `match_json` parameter which allows matching on JSON
decoded body (matching against python representation instead
of bytes).
* Even if it was never documented as a feature, the
`match_headers` parameter was not considering header names
case when matching.
* 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).
* Add `:Any` type hint to `**matchers` function arguments to
satisfy strict type checking mode in `pyright`.
* Python `3.7` and `3.8` are no longer supported.
* `httpx_mock.add_response` is now returning a new
`httpx.Response` instance upon each matching request.
Preventing unnecessary recursion in streams.

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 0.26.0:
* Added `proxy_url` parameter which allows matching on proxy
URL.
* Requires `httpx`==0.25.\*
* Added `match_json` parameter which allows matching on JSON
decoded body (matching against python representation instead
of bytes).
* Even if it was never documented as a feature, the
`match_headers` parameter was not considering header names
case when matching.
* 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).
* Add `:Any` type hint to `**matchers` function arguments to
satisfy strict type checking mode in `pyright`.
* Python `3.7` and `3.8` are no longer supported.
* `httpx_mock.add_response` is now returning a new
`httpx.Response` instance upon each matching request.
Preventing unnecessary recursion in streams.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:102"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:102"


Dominique Leuenberger's avatar

dimstar accepted review


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:102 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:102 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:102 got accepted.

openSUSE Build Service is sponsored by