Skip to content
Myr

Revert "fix failing test "test_prepare_unicode_url""

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

This reverts commit 26ed7c2e1dce4271f3a3b111a167a6dcca3acddf.

authored by Scott Sadler · committed by Scott Sadler · parent 26ed7c2 · Browse files · 1 file+3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:requests/models.py+3 added-3 removed
20 unmodified lines
21from .packages.urllib3.util import parse_url22from .packages.urllib3.exceptions import (23 DecodeError, ReadTimeoutError, ProtocolError)24from .exceptions import (25 HTTPError, RequestException, MissingSchema, InvalidURL,26 ChunkedEncodingError, ContentDecodingError, ConnectionError,25 HTTPError, RequestException, MissingSchema, InvalidURL, 26 ChunkedEncodingError, ContentDecodingError, ConnectionError, 27 StreamConsumedError)28from .utils import (29 guess_filename, get_auth_from_url, requote_uri,30 stream_decode_response_unicode, to_key_val_list, parse_header_links,
278 unmodified lines
309 # Note that prepare_auth must be last to enable authentication schemes310 # such as OAuth to work on a fully prepared request.311312 # This MUST go after prepare_auth. Authenticators could add a hook313 self.prepare_hooks(hooks if hooks is not None else [])313 self.prepare_hooks(hooks)314315 def __repr__(self):316 return '<PreparedRequest [%s]>' % (self.method)317
516 unmodified lines