services/python-requests.git
10 years agoMerge pull request #2442 from Lukasa/certs
Ian Cordasco [Tue, 10 Feb 2015 19:05:56 +0000 (13:05 -0600)]
Merge pull request #2442 from Lukasa/certs

Update certificate bundle.

10 years agoUpdate certificate bundle.
Cory Benfield [Tue, 10 Feb 2015 19:03:59 +0000 (19:03 +0000)]
Update certificate bundle.

10 years agoMerge pull request #2440 from aquarion/patch-1
Ian Cordasco [Fri, 6 Feb 2015 14:02:58 +0000 (08:02 -0600)]
Merge pull request #2440 from aquarion/patch-1

Update to use readthedocs.org instead of rtfd.org

The requests-toolbelt link can't mix HTTPS with the short domain rtfd.

10 years agoUpdate to use readthedocs.org instead of rtfd.org
Nicholas Avenell [Fri, 6 Feb 2015 13:46:38 +0000 (13:46 +0000)]
Update to use readthedocs.org instead of rtfd.org

https://toolbelt.rtfd.org causes an SSL error because the wildcard SSL cert is for *.readthedocs.org.

10 years agoMerge pull request #2438 from colindickson/master
Cory Benfield [Wed, 4 Feb 2015 07:01:10 +0000 (07:01 +0000)]
Merge pull request #2438 from colindickson/master

add a timeout value to connection_error_invalid_port test to accelerate failure

10 years agoadd a timeout value to connection_error_invalid_port test to accelerate failure
Colin Dickson [Thu, 5 Feb 2015 02:05:03 +0000 (21:05 -0500)]
add a timeout value to connection_error_invalid_port test to accelerate failure

10 years agosplit test_connection_error into two distinct tests, and changed "unknown url" test...
Colin Dickson [Wed, 4 Feb 2015 02:23:07 +0000 (21:23 -0500)]
split test_connection_error into two distinct tests, and changed "unknown url" test URL since fooobarbangbazbing.httpbin.org currently gives a valid response.

10 years agoMerge pull request #2437 from tomscytale/docs_query_param_array
Cory Benfield [Tue, 3 Feb 2015 10:34:06 +0000 (10:34 +0000)]
Merge pull request #2437 from tomscytale/docs_query_param_array

quickstart: using a list as a value in query params

10 years agoquickstart: using a list as a value in query params
Tom S [Tue, 3 Feb 2015 09:16:38 +0000 (09:16 +0000)]
quickstart: using a list as a value in query params

10 years agoMerge pull request #2436 from colindickson/master
Cory Benfield [Tue, 3 Feb 2015 06:50:11 +0000 (06:50 +0000)]
Merge pull request #2436 from colindickson/master

Fix for failing test: test_connection_error

10 years agoMerge pull request #2393 from sigmavirus24/bug/2356
Kenneth Reitz [Tue, 27 Jan 2015 18:24:34 +0000 (10:24 -0800)]
Merge pull request #2393 from sigmavirus24/bug/2356

Attempt to quote anyway if unquoting fails

10 years agoMerge pull request #2412 from sigmavirus24/remove-cruft
Kenneth Reitz [Tue, 27 Jan 2015 18:24:25 +0000 (10:24 -0800)]
Merge pull request #2412 from sigmavirus24/remove-cruft

Remove entirely unnecessary and unused bits from requests.compat

10 years agoMerge pull request #2413 from sigmavirus24/bug/2411
Kenneth Reitz [Tue, 27 Jan 2015 18:23:18 +0000 (10:23 -0800)]
Merge pull request #2413 from sigmavirus24/bug/2411

Check that filenames are unicode or bytes

10 years agoMerge pull request #2415 from sigmavirus24/bug/2408
Kenneth Reitz [Tue, 27 Jan 2015 18:22:53 +0000 (10:22 -0800)]
Merge pull request #2415 from sigmavirus24/bug/2408

Move noncebit to the only place it is used

10 years agoMerge pull request #2420 from chriskuehl/master
Cory Benfield [Fri, 23 Jan 2015 07:19:39 +0000 (07:19 +0000)]
Merge pull request #2420 from chriskuehl/master

Replace n-dash in HISTORY to workaround pip bug

10 years agoHISTORY: replace n-dash to workaround pip bug
Chris Kuehl [Fri, 23 Jan 2015 03:37:33 +0000 (19:37 -0800)]
HISTORY: replace n-dash to workaround pip bug

There exists a problem (maybe a bug?) in pip when using a locale like
`LC_ALL=C` (which is commonly used by CI environments and system
configuration tools such as Puppet), where the PKG-INFO file is decoded
using ascii, raising a UnicodeDecodeError when PKG-INFO contains
non-ASCII characters (such as the n-dash removed by this commit):

> Downloading/unpacking requests from https://pypi.python.org/packages/source/r/requests/requests-2.5.1.tar.gz
>   Downloading requests-2.5.1.tar.gz (443Kb): 443Kb downloaded
>   Running setup.py egg_info for package requests
>
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 104, in main
>     status = self.run(options, args)
>   File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 245, in run
>     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 1014, in prepare_files
>     req_to_install.assert_source_matches_version()
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 359, in assert_source_matches_version
>     version = self.installed_version
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 351, in installed_version
>     return self.pkg_info()['version']
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 318, in pkg_info
>     data = self.egg_info_data('PKG-INFO')
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 261, in egg_info_data
>     data = fp.read()
>   File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
>     return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8161: ordinal not in range(128)

I'm not able to reproduce this by installing the package directly, only by
installing another package which depends on it (via `install_requires`).

The command I used was `LC_ALL=C /usr/bin/pip-3.2 install --upgrade ocflib`,
with "pip 1.1 from /usr/lib/python3/dist-packages (python 3.2)" (which
is the packaged version for Debian 7).

Although this should probably be addressed ultimately in pip, replacing
this character in HISTORY is a pain-free and pragmatic way to help
developers and system administrators who may be stuck with old versions
of pip for many years to come.

10 years agoCheck that a filename is a basestring instance
Ian Cordasco [Mon, 19 Jan 2015 03:51:49 +0000 (21:51 -0600)]
Check that a filename is a basestring instance

Instead of only checking one or another type of string-like object that
we accept, let's be able to check both. Previously, we only checked if
the filename was an instance of the native str type which on Python 2
excluded unicode filenames and bytes-like filenames on Python 3.

Fixes #2411

10 years agoMove noncebit to the only place it is used
Ian Cordasco [Tue, 20 Jan 2015 00:50:50 +0000 (18:50 -0600)]
Move noncebit to the only place it is used

Since we only allow for "auth" qop-value, hardcode it

Fixes #2408

10 years agoRemove entirely unnecessary and unused bits from requests.compat
Ian Cordasco [Mon, 19 Jan 2015 03:17:11 +0000 (21:17 -0600)]
Remove entirely unnecessary and unused bits from requests.compat

10 years agoAttempt to quote anyway if unquoting fails
Ian Cordasco [Sat, 27 Dec 2014 02:02:16 +0000 (20:02 -0600)]
Attempt to quote anyway if unquoting fails

Fixes #2356

10 years agoUpdate urllib3 to a27758625e4169330fcf965652b1093faf5aaaa2
Ian Cordasco [Sat, 10 Jan 2015 02:55:54 +0000 (20:55 -0600)]
Update urllib3 to a27758625e4169330fcf965652b1093faf5aaaa2

10 years agoMerge pull request #2375 from sigmavirus24/fix-imports-when-unbundled
Kenneth Reitz [Fri, 9 Jan 2015 20:38:30 +0000 (15:38 -0500)]
Merge pull request #2375 from sigmavirus24/fix-imports-when-unbundled

Copy pip's import machinery wholesale

10 years agodrawn towards it rather than pushed away
Kenneth Reitz [Thu, 8 Jan 2015 15:04:58 +0000 (10:04 -0500)]
drawn towards it rather than pushed away

10 years agocertifi
Kenneth Reitz [Thu, 8 Jan 2015 15:01:39 +0000 (10:01 -0500)]
certifi

10 years agocertifi
Kenneth Reitz [Thu, 8 Jan 2015 14:58:31 +0000 (09:58 -0500)]
certifi

10 years agosimpler button
Kenneth Reitz [Thu, 8 Jan 2015 14:55:40 +0000 (09:55 -0500)]
simpler button

10 years agocleanups
Kenneth Reitz [Thu, 8 Jan 2015 14:52:56 +0000 (09:52 -0500)]
cleanups

10 years agoRequests Pro
Kenneth Reitz [Thu, 8 Jan 2015 14:52:50 +0000 (09:52 -0500)]
Requests Pro

10 years agojavascripts
Kenneth Reitz [Tue, 6 Jan 2015 05:56:47 +0000 (00:56 -0500)]
javascripts

10 years agoMerge pull request #2395 from shrayasr/happy-new-year
Cory Benfield [Thu, 1 Jan 2015 08:28:11 +0000 (08:28 +0000)]
Merge pull request #2395 from shrayasr/happy-new-year

Changing year in all copyright information

10 years agoChanging year in all copyright information
Shrayas [Thu, 1 Jan 2015 03:34:50 +0000 (09:04 +0530)]
Changing year in all copyright information

- Happy new year! Thanks for this awesome library :)

10 years agoMerge pull request #2390 from Lukasa/cookiedocs
Kenneth Reitz [Wed, 24 Dec 2014 15:15:37 +0000 (10:15 -0500)]
Merge pull request #2390 from Lukasa/cookiedocs

Clean up cookie docstrings, document cookie jar.

10 years agoEnhance documentation for clarity.
Cory Benfield [Wed, 24 Dec 2014 14:54:49 +0000 (14:54 +0000)]
Enhance documentation for clarity.

10 years agoClean up cookie docs and display them.
Cory Benfield [Wed, 24 Dec 2014 14:33:14 +0000 (14:33 +0000)]
Clean up cookie docs and display them.

10 years agoBump version to 2.5.1 v2.5.1
Ian Cordasco [Tue, 23 Dec 2014 17:54:01 +0000 (11:54 -0600)]
Bump version to 2.5.1

10 years agoAdd release notes for 2.5.1
Ian Cordasco [Tue, 23 Dec 2014 17:50:31 +0000 (11:50 -0600)]
Add release notes for 2.5.1

10 years agoMerge pull request #2389 from sigmavirus24/bug/fix-digest-auth
Ian Cordasco [Tue, 23 Dec 2014 17:40:35 +0000 (11:40 -0600)]
Merge pull request #2389 from sigmavirus24/bug/fix-digest-auth

Fix bug in renegotiating a nonce with the server

10 years agoFix bug in renegotiating a nonce with the server
Ian Cordasco [Tue, 23 Dec 2014 16:40:31 +0000 (10:40 -0600)]
Fix bug in renegotiating a nonce with the server

If a session runs long enough (without constant activity) then the server can
expire the nonce the session has negotiated. If that happens the session will
get a new 401 response which we were immediately returning to the user. A user
would then have to essentially reinitialize session.auth each time they get an
unexpected 401.

Also, there's no need for setattr calls when we can simply assign the
attribute on the instance.

10 years agoFix error handling on Python 3
Ian Cordasco [Wed, 17 Dec 2014 04:49:24 +0000 (22:49 -0600)]
Fix error handling on Python 3

10 years agoMerge branch 'master' of https://github.com/ContinuousFunction/requests into pr/2344
Ian Cordasco [Wed, 17 Dec 2014 04:18:51 +0000 (22:18 -0600)]
Merge branch 'master' of https://github.com/ContinuousFunction/requests into pr/2344

10 years agoMerge pull request #2382 from daftshady/exception
Cory Benfield [Tue, 16 Dec 2014 09:19:50 +0000 (09:19 +0000)]
Merge pull request #2382 from daftshady/exception

catch exception more specifically

10 years agocatch exception more specifically in Response.ok
daftshady [Tue, 16 Dec 2014 07:55:13 +0000 (16:55 +0900)]
catch exception more specifically in Response.ok

10 years agoUncommented test in test_requests.py
ContinuousFunction [Mon, 15 Dec 2014 18:41:10 +0000 (13:41 -0500)]
Uncommented test in test_requests.py

Uncommented test_sesion_pickling in test_requests.py and ran the file to
make sure the test passes.

10 years agoMerge branch 'master' of https://github.com/kennethreitz/requests
ContinuousFunction [Mon, 15 Dec 2014 18:24:06 +0000 (13:24 -0500)]
Merge branch 'master' of https://github.com/kennethreitz/requests

10 years agoMerge pull request #2381 from namlede/patch-1
Cory Benfield [Mon, 15 Dec 2014 07:59:47 +0000 (07:59 +0000)]
Merge pull request #2381 from namlede/patch-1

Fix a typo in a comment

10 years agoFix a typo in a comment
Ben Edelman [Mon, 15 Dec 2014 06:37:19 +0000 (01:37 -0500)]
Fix a typo in a comment

I just fixed a minor typo: "throws" is misspelled as "thows".

10 years agoMerge pull request #2379 from arthurdarcet/master
Ian Cordasco [Sat, 13 Dec 2014 19:49:04 +0000 (13:49 -0600)]
Merge pull request #2379 from arthurdarcet/master

utils.guess_filename fails if the given parameter looks like a file object but has a non-string name attribute

10 years agoGive proper attribution to pip
Ian Cordasco [Sat, 13 Dec 2014 03:12:31 +0000 (21:12 -0600)]
Give proper attribution to pip

10 years agoutils.guess_filename fails if the given parameter looks like a file object but has...
Arthur Darcet [Fri, 12 Dec 2014 15:11:32 +0000 (16:11 +0100)]
utils.guess_filename fails if the given parameter looks like a file object but has a non-string name attribute

e.g. a cherrypy uploaded file behave like a regular file, except that its name attribute is an int and passing it directly to requests fails because of that

10 years agoCopy pip's import machinery wholesale
Ian Cordasco [Tue, 9 Dec 2014 02:48:40 +0000 (20:48 -0600)]
Copy pip's import machinery wholesale

10 years agoMerge pull request #2374 from krvc/fix_link
Ian Cordasco [Mon, 8 Dec 2014 23:46:08 +0000 (17:46 -0600)]
Merge pull request #2374 from krvc/fix_link

Updated the broken link to twitter streaming API documentation

10 years agoUpdated the broken link to twitter streaming API documentation
rakesh [Mon, 8 Dec 2014 20:29:55 +0000 (01:59 +0530)]
Updated the broken link to twitter streaming API documentation

10 years agoMerge pull request #2373 from frewsxcv/patch-1
Ian Cordasco [Mon, 8 Dec 2014 18:40:44 +0000 (12:40 -0600)]
Merge pull request #2373 from frewsxcv/patch-1

Enable GitHub syntax highlighting on README

10 years agoEnable GitHub syntax highlighting on README
Corey Farwell [Mon, 8 Dec 2014 18:04:27 +0000 (13:04 -0500)]
Enable GitHub syntax highlighting on README

10 years agoMerge pull request #2363 from sigmavirus24/fix-tests
Kenneth Reitz [Wed, 3 Dec 2014 04:46:10 +0000 (20:46 -0800)]
Merge pull request #2363 from sigmavirus24/fix-tests

Update tests to work offline

10 years agoMerge pull request #2365 from sigmavirus24/release/2.5 v2.5.0
Ian Cordasco [Mon, 1 Dec 2014 23:22:17 +0000 (17:22 -0600)]
Merge pull request #2365 from sigmavirus24/release/2.5

Release v2.5.0

10 years agoBump version to 2.5.0
Ian Cordasco [Mon, 1 Dec 2014 23:03:24 +0000 (17:03 -0600)]
Bump version to 2.5.0

10 years agoAdd updates for 2.5.0
Ian Cordasco [Mon, 1 Dec 2014 23:02:42 +0000 (17:02 -0600)]
Add updates for 2.5.0

10 years agoUpdate tests to work offline
Ian Cordasco [Mon, 1 Dec 2014 22:21:41 +0000 (16:21 -0600)]
Update tests to work offline

10 years agoMerge pull request #2216 from sigmavirus24/retries-take-2
Kenneth Reitz [Mon, 1 Dec 2014 19:45:27 +0000 (14:45 -0500)]
Merge pull request #2216 from sigmavirus24/retries-take-2

Retries logic

10 years agoupdatee chardet, urllib3
Kenneth Reitz [Mon, 1 Dec 2014 19:40:32 +0000 (14:40 -0500)]
updatee chardet, urllib3

10 years agoMerge pull request #2349 from sigmavirus24/fix-pickling
Kenneth Reitz [Sun, 30 Nov 2014 19:12:43 +0000 (14:12 -0500)]
Merge pull request #2349 from sigmavirus24/fix-pickling

Properly serialize RecentlyUsedContainers for cache

10 years agoMerge pull request #2348 from danmichaelo/master
Kenneth Reitz [Sun, 30 Nov 2014 19:12:04 +0000 (14:12 -0500)]
Merge pull request #2348 from danmichaelo/master

Docs: Add more section labels for referencing

10 years agoMerge pull request #2353 from mattrobenolt/patch-1
Kenneth Reitz [Sun, 30 Nov 2014 19:11:52 +0000 (14:11 -0500)]
Merge pull request #2353 from mattrobenolt/patch-1

url was already parsed, don't urlparse twice

10 years agourl was already parsed, don't urlparse twice
Matt Robenolt [Mon, 24 Nov 2014 01:54:44 +0000 (17:54 -0800)]
url was already parsed, don't urlparse twice

10 years agoProperly serialize RecentlyUsedContainers for cache
Ian Cordasco [Tue, 18 Nov 2014 04:13:35 +0000 (22:13 -0600)]
Properly serialize RecentlyUsedContainers for cache

RecentlyUsedContainers are threadsafe so they require a lock and as such
cannot be serialized with pickle directly. To handle it, we need to
convert it to a dictionary first and then back when deserializing.

Fixes #2345

10 years agoChanged ConnectionError to InvalidURL
ContinuousFunction [Mon, 17 Nov 2014 00:39:08 +0000 (16:39 -0800)]
Changed ConnectionError to InvalidURL

10 years agoDocs: Add more section labels for referencing
Dan Michael O. Heggø [Mon, 17 Nov 2014 10:39:33 +0000 (11:39 +0100)]
Docs: Add more section labels for referencing

so sections can be linked from other projects using Intersphinx

10 years agoPartially addresses Issue #1572
ContinuousFunction [Sun, 16 Nov 2014 00:58:25 +0000 (16:58 -0800)]
Partially addresses Issue #1572

Addresses the LocationParseError but not the DecodeError from
kennethreitz#1572. When running
test_requests.py, I got an error in test_session_pickling which resulted
in a TypeError. I'm not sure of the reason for the TypeError but I have
commented out that test.

10 years agoUpdate HTTPAdapter docstring
Ian Cordasco [Sat, 25 Oct 2014 13:31:03 +0000 (08:31 -0500)]
Update HTTPAdapter docstring

10 years agoAdd last few changes and add a quick test
Ian Cordasco [Sat, 25 Oct 2014 03:23:15 +0000 (22:23 -0500)]
Add last few changes and add a quick test

10 years agoUpdate urllib3 to df4ec5cce1
Ian Cordasco [Sat, 25 Oct 2014 02:58:11 +0000 (21:58 -0500)]
Update urllib3 to df4ec5cce1

10 years agoUpdate how we handle retries to be consistent with documentation
Ian Cordasco [Wed, 10 Sep 2014 16:57:20 +0000 (11:57 -0500)]
Update how we handle retries to be consistent with documentation

10 years agoMerge pull request #2309 from sigmavirus24/add-deprecation-warnings
Kenneth Reitz [Wed, 12 Nov 2014 17:36:03 +0000 (12:36 -0500)]
Merge pull request #2309 from sigmavirus24/add-deprecation-warnings

Add DeprecationWarnings to inform users of plans

10 years agoMerge pull request #2308 from kevinburke/read-timeout-retry
Kenneth Reitz [Wed, 12 Nov 2014 17:35:24 +0000 (12:35 -0500)]
Merge pull request #2308 from kevinburke/read-timeout-retry

Note about read timeout errors and max_retries

10 years agoMerge pull request #2332 from asnelzin/fix-2329
Kenneth Reitz [Wed, 12 Nov 2014 17:34:48 +0000 (12:34 -0500)]
Merge pull request #2332 from asnelzin/fix-2329

Add overriding Content-Length

10 years agoMerge pull request #2326 from sigmavirus24/close-functional-sessions
Kenneth Reitz [Wed, 12 Nov 2014 17:34:14 +0000 (12:34 -0500)]
Merge pull request #2326 from sigmavirus24/close-functional-sessions

Close sessions created in the functional API

10 years agoMerge pull request #2333 from akitada/reinit-pos
Ian Cordasco [Wed, 12 Nov 2014 15:53:32 +0000 (09:53 -0600)]
Merge pull request #2333 from akitada/reinit-pos

Fix HTTPDigestAuth not to treat non-file as a file

10 years agoFix HTTPDigestAuth not to treat non-file as a file
Akira Kitada [Wed, 12 Nov 2014 14:46:22 +0000 (23:46 +0900)]
Fix HTTPDigestAuth not to treat non-file as a file

Ensure pos is set to None when the body is not a file
so that HTTPDigestAuth detects the type of the body correctly.

10 years agoFixed.
Alexander Nelzin [Wed, 12 Nov 2014 12:35:27 +0000 (15:35 +0300)]
Fixed.

10 years agoAdded test for overriding Content-Length.
Alexander Nelzin [Wed, 12 Nov 2014 12:23:23 +0000 (15:23 +0300)]
Added test for overriding Content-Length.

10 years agoMerge pull request #2299 from mattrobenolt/master
Ian Cordasco [Fri, 7 Nov 2014 20:18:41 +0000 (14:18 -0600)]
Merge pull request #2299 from mattrobenolt/master

Cap the redirect_cache size to prevent memory abuse

10 years agoClose sessions created in the functional API
Ian Cordasco [Fri, 7 Nov 2014 14:55:17 +0000 (08:55 -0600)]
Close sessions created in the functional API

This is related to #1882 and #1685. By calling close on the session, we
clear the PoolManager operated by the Session and close all sockets.

Fixes #1882
Partially-fixes #1685

10 years agoMerge pull request #2323 from Lukasa/strict
Ian Cordasco [Fri, 7 Nov 2014 14:12:23 +0000 (08:12 -0600)]
Merge pull request #2323 from Lukasa/strict

Pass strict to urllib3.

10 years agoPass strict to urllib3.
Cory Benfield [Fri, 7 Nov 2014 08:19:18 +0000 (09:19 +0100)]
Pass strict to urllib3.

10 years agoMerge pull request #2253 from yossigo/digest_redirect_fix
Kenneth Reitz [Sat, 1 Nov 2014 14:04:29 +0000 (10:04 -0400)]
Merge pull request #2253 from yossigo/digest_redirect_fix

A fix for #1979: repeat HTTP digest authentication after redirect.

10 years agoMerge pull request #2317 from sigmavirus24/bug/2316
Kenneth Reitz [Sat, 1 Nov 2014 14:04:09 +0000 (10:04 -0400)]
Merge pull request #2317 from sigmavirus24/bug/2316

Use to_native_string instead of builtin_str

10 years agoUse to_native_string instead of builtin_str
Ian Cordasco [Sat, 1 Nov 2014 02:20:04 +0000 (21:20 -0500)]
Use to_native_string instead of builtin_str

Fixes #2316

10 years agoUpdate documentation about max_retries to reflect code
Kevin Burke [Mon, 27 Oct 2014 16:56:18 +0000 (09:56 -0700)]
Update documentation about max_retries to reflect code

10 years agoCap the redirect_cache size to prevent memory abuse
Matt Robenolt [Fri, 24 Oct 2014 03:49:18 +0000 (20:49 -0700)]
Cap the redirect_cache size to prevent memory abuse

10 years agoMerge pull request #2306 from ssadler/fix-failing-test-test_prepare_unicode_url
Ian Cordasco [Mon, 27 Oct 2014 00:32:46 +0000 (19:32 -0500)]
Merge pull request #2306 from ssadler/fix-failing-test-test_prepare_unicode_url

Fix failing test test_prepare_unicode_url

10 years agoAdd DeprecationWarnings to inform users of plans
Ian Cordasco [Mon, 27 Oct 2014 00:24:37 +0000 (19:24 -0500)]
Add DeprecationWarnings to inform users of plans

After a long discussion in IRC and on several issues, the developers of
requests have decided to remove specific functions from requests.utils
in version 3.0.0. To give users ample time to prepare for this, we've
added DeprecationWarnings long in advance. See also the planning of this
in issue #2266.

10 years agoNote about read timeout errors and max_retries
Kevin Burke [Sun, 26 Oct 2014 19:46:23 +0000 (12:46 -0700)]
Note about read timeout errors and max_retries

10 years agofix failing test "test_prepare_unicode_url" \(take 3\)
Scott Sadler [Sun, 26 Oct 2014 13:45:12 +0000 (14:45 +0100)]
fix failing test "test_prepare_unicode_url" \(take 3\)

10 years agoRevert "fix failing test "test_prepare_unicode_url""
Scott Sadler [Sun, 26 Oct 2014 13:41:56 +0000 (14:41 +0100)]
Revert "fix failing test "test_prepare_unicode_url""

This reverts commit 26ed7c2e1dce4271f3a3b111a167a6dcca3acddf.

10 years agofix failing test "test_prepare_unicode_url"
Scott Sadler [Sun, 26 Oct 2014 11:49:46 +0000 (12:49 +0100)]
fix failing test "test_prepare_unicode_url"

10 years agoRevert "fix failing test "test_prepare_unicode_url""
Scott Sadler [Sun, 26 Oct 2014 11:40:05 +0000 (12:40 +0100)]
Revert "fix failing test "test_prepare_unicode_url""

This reverts commit cfd6e25749dd17c6b511043a6720b672f74029ed.

10 years agoMerge pull request #2295 from 2deviant/feature-custom-newline
Kenneth Reitz [Sat, 25 Oct 2014 18:33:52 +0000 (14:33 -0400)]
Merge pull request #2295 from 2deviant/feature-custom-newline

Adding a custom line delimiter to iter_lines()

10 years agoupdate AUTHORS
Scott Sadler [Sat, 25 Oct 2014 11:54:47 +0000 (13:54 +0200)]
update AUTHORS

10 years agofix failing test "test_prepare_unicode_url"
Scott Sadler [Sat, 25 Oct 2014 11:54:34 +0000 (13:54 +0200)]
fix failing test "test_prepare_unicode_url"