Skip to content
Myr

raise_for_status +URLError

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 4cf4362 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
364 unmodified lines
365 return not self.error366367368 def raise_for_status(self):369 """Raises stored :class:`HTTPError`, if one occured."""369 """Raises stored :class:`HTTPError` or :class:`URLError`, if one occured."""370 if self.error:371 raise self.error372373 def read(self, *args):
175 unmodified lines