Skip to content
Myr

One last Charade reference to remove here.

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

authored by Martijn Pieters · committed by Martijn Pieters · parent c608470 · Browse files · 1 file+1 added−2 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+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:requests/models.py+1 added-2 removed
591 unmodified lines
592 return True593594 @property595 def apparent_encoding(self):596 """The apparent encoding, provided by the lovely Charade library597 (Thanks, Ian!)."""596 """The apparent encoding, provided by the chardet library"""597 return chardet.detect(self.content)['encoding']598599 def iter_content(self, chunk_size=1, decode_unicode=False):600 """Iterates over the response data. When stream=True is set on the
178 unmodified lines