Skip to content
Myr

Merge pull request #906 from Atheuz/develop

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

quote_plus, unquote_plus added

authored by Kenneth Reitz · committed by Kenneth Reitz · parents cfa83f6, b36863b · Browse files · 2 files+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

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:requests/compat.py+2 added-2 removed
81 unmodified lines
82# ---------838485if is_py2:86 from urllib import quote, unquote, urlencode86 from urllib import quote, unquote, quote_plus, unquote_plus, urlencode87 from urlparse import urlparse, urlunparse, urljoin, urlsplit88 from urllib2 import parse_http_list89 import cookielib90 from Cookie import Morsel
12 unmodified lines
103104105106elif is_py3:107 from urllib.parse import urlparse, urlunparse, urljoin, urlsplit, urlencode, quote, unquote107 from urllib.parse import urlparse, urlunparse, urljoin, urlsplit, urlencode, quote, unquote, quote_plus, unquote_plus108 from urllib.request import parse_http_list109 from http import cookiejar as cookielib110 from http.cookies import Morsel111 from io import StringIO
8 unmodified lines
modified:requests/utils.py+1 added-1 removed
18 unmodified lines
19from netrc import netrc, NetrcParseError2021from . import __version__22from .compat import parse_http_list as _parse_list_header23from .compat import quote, urlparse, basestring, bytes, str, OrderedDict23from .compat import quote, quote_plus, urlparse, basestring, bytes, str, OrderedDict24from .cookies import RequestsCookieJar, cookiejar_from_dict2526_hush_pyflakes = (RequestsCookieJar,)27
554 unmodified lines