Skip to content
Myr

Merge branch 'develop' into key_val_lists

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

authored by Ian Cordasco · committed by Ian Cordasco · parents 5ff165a, b4bc76f · Browse files · 1 file+5 added−3 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+5 added−3 removed

  • other:+5 added−3 removed

1 file+5 added−3 removed

modified:requests/models.py+5 added-3 removed
839 unmodified lines
840841 if self.error:842 raise self.error843844 http_error_msg = ''845 if 300 <= self.status_code < 400 and not allow_redirects:846 http_error_msg = '%s Redirection: %s' % (self.status_code, self.reason)847848 elif 400 <= self.status_code < 500:
1 unmodified line
850851 elif 500 <= self.status_code < 600:852 http_error_msg = '%s Server Error: %s' % (self.status_code, self.reason)853854 if http_error_msg:853 http_error = HTTPError(http_error_msg)854 http_error.response = self855 raise http_error855 http_error = HTTPError(http_error_msg)856 http_error.response = self857 raise http_error