File: fix-iter-content-none-1e29754a75273b8c.yaml

package info (click to toggle)
python-requests-mock 1.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 616 kB
  • sloc: python: 2,268; makefile: 166
file content (5 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (2)
1
2
3
4
5
---
fixes:
  - 124 when using `response.iter_content(None)` the iterator would keep
    returning b'' and never finish. In most code paths the b'' would indicate
    that the stream is finished, but using None we have to close it ourselves.