Skip to content
Myr

remove Response.cached

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 629d730 · Browse files · 1 file+0 added−5 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+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:requests/models.py-5 removed
320 unmodified lines
321 else:322 self._build_response(resp)323 self.response.ok = True324325 self.response.cached = False325 else:327 self.response.cached = True326327 self.sent = self.response.ok328331329 return self.sent330331332
20 unmodified lines
353 #: True if no :attr:`error` occured.354 self.ok = False355 #: Resulting :class:`HTTPError` of request, if one occured.356 self.error = None360 #: True, if the response :attr:`content` is cached locally.361 self.cached = False357 #: A list of :class:`Response <models.Response>` objects from358 #: the history of the Request. Any redirect responses will end359 #: up here.360 self.history = []
201 unmodified lines