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

package info (click to toggle)
python-requests-mock 1.12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: python: 2,339; makefile: 162
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.