Skip to content
Myr

encode_uri

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 c1a4425 · Browse files · 4 files+9 added−4 removed
This commit

State

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

Diff stats

4 files+9 added−4 removed

  • other:+9 added−4 removed

4 files+9 added−4 removed

modified:requests/__init__.py+2 added-2 removed
13 unmodified lines
1415"""1617__title__ = 'requests'18__version__ = '0.10.6'19__build__ = 0x00100618__version__ = '0.10.7'19__build__ = 0x00100720__author__ = 'Kenneth Reitz'21__license__ = 'ISC'22__copyright__ = 'Copyright 2012 Kenneth Reitz'23
10 unmodified lines
modified:requests/defaults.py+1 added-1 removed
38 unmodified lines
39defaults['max_retries'] = 040defaults['danger_mode'] = False41defaults['safe_mode'] = False42defaults['keep_alive'] = True43defaults['encode_urls'] = True43defaults['encode_uri'] = True4445
modified:requests/models.py+1 added-1 removed
341 unmodified lines
342 url = '%s&%s' % (url, self._enc_params)343 else:344 url = '%s?%s' % (url, self._enc_params)345346 if self.config.get('encode_urls'):346 if self.config.get('encode_uri'):347 url = requote_uri(url)348349 return url350
448 unmodified lines
modified:HISTORY.rst+5 added
1History2-------340.10.7 (2012-03-07)5+++++++++++++++++++67* `encode_uri` = False890.10.6 (2012-02-25)10+++++++++++++++++++1112* Allow '=' in cookies.
396 unmodified lines