Skip to content
Myr

thanks, @sigmavirus24

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent f8e2d0e · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/models.py+2 added-1 removed
441 unmodified lines
442 return True443444 @property445 def apparent_encoding(self):446 """The apparent encoding, provided by the lovely Charade library."""446 """The apparent encoding, provided by the lovely Charade library447 (Thanks, Ian!)."""448 return chardet.detect(self.content)['encoding']449450 def iter_content(self, chunk_size=1, decode_unicode=False):451 """Iterates over the response data. This avoids reading the content
156 unmodified lines