Skip to content
Myr

fix minor typos (#5934)

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

authored by Kevin Kirsche · committed by GitHub · parent 1e5fad7 · Browse files · 3 files+5 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

3 files+5 added−5 removed

  • other:+5 added−5 removed

3 files+5 added−5 removed

modified:docs/user/advanced.rst+1 added-1 removed
444 unmodified lines
445446 def print_url(r, *args, **kwargs):447 print(r.url)448449Your callback function must handle its own exceptions. Any unhandled exception wont be pass silently and thus should be handled by the code calling Requests.449Your callback function must handle its own exceptions. Any unhandled exception won't be passed silently and thus should be handled by the code calling Requests.450451If the callback function returns a value, it is assumed that it is to452replace the data that was passed in. If the function doesn't return453anything, nothing else is affected.
637 unmodified lines
modified:requests/utils.py+1 added-1 removed
152 unmodified lines
153 if total_length is not None:154 current_position = total_length155 else:156 if hasattr(o, 'seek') and total_length is None:157 # StringIO and BytesIO have seek but no useable fileno157 # StringIO and BytesIO have seek but no usable fileno158 try:159 # seek to end of file160 o.seek(0, 2)161 total_length = o.tell()
856 unmodified lines
modified:HISTORY.md+3 added-3 removed
111 unmodified lines
112113**Dependencies**114115- Pinning for `chardet` and `idna` now uses major version instead of minor.116 This hopefully reduces the need for releases everytime a dependency is updated.116 This hopefully reduces the need for releases every time a dependency is updated.1171182.22.0 (2019-05-15)119-------------------120
346 unmodified lines
467**Bugfixes**468469- Fixed regression from 2.12.2 where non-string types were rejected in470 the basic auth parameters. While support for this behaviour has been471 readded, the behaviour is deprecated and will be removed in the471 re-added, the behaviour is deprecated and will be removed in the472 future.4734742.12.3 (2016-12-01)475-------------------
1230 unmodified lines
17061707 New Authentication Manager System17081709 : - Simpler Basic HTTP System1710 - Supports all build-in urllib2 Auths1710 - Supports all built-in urllib2 Auths1711 - Allows for custom Auth Handlers171217130.2.4 (2011-02-19)1714------------------
42 unmodified lines