kennethreitz/requests — comment on commit 9451ae2e98708ea0664b1317ed84e49e6c1f259f
File: requests/models.py line 726
By fawek:

if lines[-1].endswith(chunk[:1]): would probably be a better fix (however, I'm still convinced this should never run for bytes i.e. calling iter_lines() on a PNG file should raise an exception).