Skip to content
Myr

Merge pull request #1949 from Lukasa/pickle

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

Pickled Responses should include a None value for the raw attribute

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 03f444e, ee7fe02 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/models.py+1 added
573 unmodified lines
574 setattr(self, name, value)575576 # pickled objects do not have .raw577 setattr(self, '_content_consumed', True)578 setattr(self, 'raw', None)579580 def __repr__(self):581 return '<Response [%s]>' % (self.status_code)582
219 unmodified lines