Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@petarmaric
Copy link
Contributor

Closes #122.

Credit where credit's due, as was the case of #91 this PR is also inspired by work done in https://github.com/Colin-b/pytest_httpx, the proposed fix corresponding to https://github.com/Colin-b/pytest_httpx/blob/b91bae4ec02a35e692700356dfe3753a20e32fc8/pytest_httpx/_httpx_mock.py#L269-L275

@petarmaric
Copy link
Contributor Author

FWIW both commits (the new regression test, fix) have already been tested individually within my fork, please see https://github.com/petarmaric/pook/actions for details.

Copy link
Collaborator

@sarayourfriend sarayourfriend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the PR and new tests 🙏

@sarayourfriend sarayourfriend merged commit c07c496 into h2non:master Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

httpx streaming via iter_raw raises httpx.StreamConsumed

2 participants