kennethreitz/requests — pull request #585 by chazapis (2012-05-04 10:46:07+00:00)
Title: Fix out-of-range issue with iter_lines (#515).

This will fix the iter_lines IndexError, which may be caused either by `chunk == ''` (empty string), or `chunk.endswith('\n\n')`.