Ian Cordasco
2bc7762cb6
Update how we handle retries to be consistent with documentation
2014-11-12 13:56:28 -06:00
kennethreitz
9dc660269f
Merge pull request #2309 from sigmavirus24/add-deprecation-warnings
...
Add DeprecationWarnings to inform users of plans
2014-11-12 12:36:03 -05:00
kennethreitz
1601387cbe
Merge pull request #2308 from kevinburke/read-timeout-retry
...
Note about read timeout errors and max_retries
2014-11-12 12:35:24 -05:00
kennethreitz
45ef1f8eeb
Merge pull request #2332 from asnelzin/fix-2329
...
Add overriding Content-Length
2014-11-12 12:34:48 -05:00
kennethreitz
e4ddca0f8b
Merge pull request #2326 from sigmavirus24/close-functional-sessions
...
Close sessions created in the functional API
2014-11-12 12:34:14 -05:00
Ian Cordasco
19b8e3042e
Merge pull request #2333 from akitada/reinit-pos
...
Fix HTTPDigestAuth not to treat non-file as a file
2014-11-12 09:53:32 -06:00
Akira Kitada
67c505781c
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.
2014-11-13 00:51:35 +09:00
Alexander Nelzin
ee50afef59
Fixed.
2014-11-12 15:35:27 +03:00
Alexander Nelzin
34f6088c8f
Added test for overriding Content-Length.
2014-11-12 15:23:23 +03:00
Ian Cordasco
431282e778
Merge pull request #2299 from mattrobenolt/master
...
Cap the redirect_cache size to prevent memory abuse
2014-11-07 14:18:41 -06:00
Ian Cordasco
3155bc9936
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
2014-11-07 08:55:18 -06:00
Ian Cordasco
1c52d15d97
Merge pull request #2323 from Lukasa/strict
...
Pass strict to urllib3.
2014-11-07 08:12:23 -06:00
Cory Benfield
f28bde7250
Pass strict to urllib3.
2014-11-07 09:19:18 +01:00
kennethreitz
122c92e590
Merge pull request #2253 from yossigo/digest_redirect_fix
...
A fix for #1979 : repeat HTTP digest authentication after redirect.
2014-11-01 10:04:29 -04:00
kennethreitz
124c0940e9
Merge pull request #2317 from sigmavirus24/bug/2316
...
Use to_native_string instead of builtin_str
2014-11-01 10:04:09 -04:00
Ian Cordasco
29ef108158
Use to_native_string instead of builtin_str
...
Fixes #2316
2014-10-31 21:20:04 -05:00
Kevin Burke
a703e24573
Update documentation about max_retries to reflect code
2014-10-27 09:56:18 -07:00
Matt Robenolt
387c8f852c
Cap the redirect_cache size to prevent memory abuse
2014-10-27 09:20:06 -07:00
Ian Cordasco
091991be0d
Merge pull request #2306 from ssadler/fix-failing-test-test_prepare_unicode_url
...
Fix failing test test_prepare_unicode_url
2014-10-26 19:32:46 -05:00
Ian Cordasco
d505b94fa4
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 .
2014-10-26 19:24:41 -05:00
Kevin Burke
f2f3bdea8d
Note about read timeout errors and max_retries
2014-10-26 12:46:23 -07:00
Scott Sadler
583859b820
fix failing test "test_prepare_unicode_url" \(take 3\)
2014-10-26 14:45:12 +01:00
Scott Sadler
8e69c9f0a1
Revert "fix failing test "test_prepare_unicode_url""
...
This reverts commit 26ed7c2e1d .
2014-10-26 14:41:56 +01:00
Scott Sadler
26ed7c2e1d
fix failing test "test_prepare_unicode_url"
2014-10-26 12:49:46 +01:00
Scott Sadler
77687de509
Revert "fix failing test "test_prepare_unicode_url""
...
This reverts commit cfd6e25749 .
2014-10-26 12:40:05 +01:00
kennethreitz
be805f942e
Merge pull request #2295 from 2deviant/feature-custom-newline
...
Adding a custom line delimiter to iter_lines()
2014-10-25 14:33:52 -04:00
Scott Sadler
c044a70796
update AUTHORS
2014-10-25 16:52:02 +02:00
Scott Sadler
cfd6e25749
fix failing test "test_prepare_unicode_url"
2014-10-25 16:51:51 +02:00
Val Tenyotkin
3602690886
Changing parameter name newline ==> delimiter.
2014-10-24 16:37:35 -07:00
Yossi Gottlieb
3d8823cafc
Clean up handle_redirect.
2014-10-23 13:46:44 +03:00
Val Tenyotkin
f5ff05be1e
Adding a custom line delimiter to iter_lines()
2014-10-21 18:03:11 -07:00
Cory Benfield
6b58a359e8
Merge pull request #2290 from syedsuhail/fix-2282
...
Fix #2279 . Update layout css
2014-10-19 10:42:28 +01:00
syedsuhail
96efb5ec96
Fix #2279 . Update layout css
2014-10-19 14:06:02 +05:30
Cory Benfield
e1e1855b85
Merge pull request #2289 from syedsuhail/fix-2288
...
Fix #2288 . Change urllib3 and chardet workflow
2014-10-19 08:56:36 +01:00
syedsuhail
3a6348dbb9
Fix #2288 . Change urllib3 and chardet workflow
2014-10-19 13:18:26 +05:30
kennethreitz
f7ecad843b
Merge pull request #2282 from morganthrapp/patch-1
...
Update sidebarintro.html
2014-10-14 11:22:48 -04:00
morganthrapp
4d498db3ed
Update sidebarintro.html
...
Fix issue #2279 . "Gittip" changed to "Gratipay". Tip button extended from 48px to 60px.
2014-10-14 10:56:05 -04:00
kennethreitz
c41eb27091
Merge pull request #2273 from sigmavirus24/add-changelog-to-sidebar
...
Add Release History to the sidebar
2014-10-12 10:55:34 -04:00
Ian Cordasco
2ac771b35e
Merge pull request #2271 from mikecool1000/fix-2250
...
Fixed #2250
2014-10-10 13:30:18 -05:00
Michael DeLay
8339b60fd5
Made more better
2014-10-10 09:58:30 -07:00
Ian Cordasco
589f2f6d6e
Add Release History to the sidebar
...
Closes #2269
2014-10-09 21:07:05 -05:00
mikecool1000
ce1ac88543
Fixed #2250
2014-10-09 12:22:18 -07:00
mikecool1000
4594667f07
Update utils.py
...
Fixed -2250
2014-10-08 19:26:07 -07:00
Yossi Gottlieb
6ff6f756c0
Clean up, support all redirects, fix potential endless 401 loop.
2014-10-08 00:06:01 +03:00
Kenneth Reitz
46d646064c
v2.4.3
v2.4.3
2014-10-06 05:44:25 -04:00
Kenneth Reitz
78d12bbbe9
v2.4.3
2014-10-06 05:42:55 -04:00
kennethreitz
6da438dabd
Merge pull request #2268 from sigmavirus24/fix-params
...
Re-order params for backwards compat
2014-10-06 05:40:03 -04:00
kennethreitz
4ec26da2f7
Merge pull request #2267 from minrk/unicode-url-py2
...
allow unicode URLs on Python 2
2014-10-06 05:39:54 -04:00
Ian Cordasco
0e4efab270
Re-order params for backwards compat
2014-10-05 18:55:59 -05:00
MinRK
ca2ebc5b68
allow unicode URLs on Python 2
...
on Python 2 u'é'.decode('utf8') fails with UnicodeEncodeError,
but only AttributeError is caught.
This only calls decode on known bytes objects.
2014-10-05 16:30:11 -07:00