Thomas Grainger
8db8a7d82d
configure sudo: false on travis
2017-05-03 09:23:02 +01:00
Cory Benfield
084625cb3c
Merge pull request #3984 from PCMan/pcman@fix_iter_lines
...
Fix the additional newline generated by iter_lines() caused by a '\r\n' pair being separated in two different chunks.
2017-04-26 16:07:46 +01:00
Hong Jen-Yee (PCMan)
458df8f4f4
Fix the additional newline generated by iter_lines() caused by a '\r\n' pair being separated in two different chunks.
2017-04-26 23:02:57 +08:00
Cory Benfield
84099eea9f
Merge pull request #3991 from chrisgavin/unused-imports
...
Remove some unused imports.
2017-04-26 13:09:34 +01:00
Chris Gavin
19ba9f1097
Remove some unused imports.
2017-04-25 22:10:01 +01:00
kennethreitz
44106f18b7
Update AUTHORS.rst
2017-04-25 11:06:38 -04:00
kennethreitz
d0a072e15d
Merge pull request #3983 from Lukasa/appveyor
...
Add appveyor testing of Requests.
2017-04-24 12:49:25 -04:00
Cory Benfield
fae7530a17
Add Python 3.6
2017-04-24 08:22:56 +01:00
Cory Benfield
8d6f7e6854
Add appveyor testing of Requests
2017-04-21 12:07:27 +01:00
Cory Benfield
f6c58ec582
Merge pull request #3982 from graingert/travis-sudo-false
...
configure sudo: false on travis
2017-04-21 11:54:33 +01:00
Thomas Grainger
047056c150
configure sudo: false on travis
2017-04-21 11:37:38 +01:00
Cory Benfield
52a3526a99
Merge pull request #3981 from graingert/cache-pip
...
enable travis pip cache
2017-04-21 11:32:41 +01:00
Thomas Grainger
af383b3968
enable travis pip cache
2017-04-21 11:21:59 +01:00
Cory Benfield
524627ef21
Merge pull request #3978 from graingert/remove-seemingly-redundant-pyflakes-references
...
remove seemingly redundant pyflakes references
2017-04-20 09:44:19 -04:00
Thomas Grainger
fcb272cc36
remove seemingly redundant pyflakes references
2017-04-20 13:23:56 +01:00
Cory Benfield
b8674db246
Merge pull request #3969 from shmuelamar/master
...
fix handle of non-ascii location on redirects issue #3888
2017-04-18 12:20:22 -04:00
shmuelamar
722b1dae96
fix handle of non-ascii location on redirects
2017-04-18 00:08:59 +03:00
Cory Benfield
fd7dcd2785
Merge pull request #3963 from shmuelamar/master
...
fix unicode decode error on py2 when handling redirect without scheme
2017-04-14 16:13:49 -04:00
shmuelamar
a3e597c171
fix unicode decode error on py2 when handling redirect without scheme
2017-04-14 16:20:27 +03:00
Cory Benfield
84a6040762
Merge pull request #3958 from Xuanwo/typo-fix
...
Fix a typo in utils
2017-04-08 14:18:43 +01:00
Xuanwo
1cd173a82c
Fix a typo in utils
...
Signed-off-by: Xuanwo <xuanwo.cn@gmail.com >
2017-04-08 20:56:28 +08:00
Cory Benfield
f061fb7e28
Merge pull request #3956 from rubendura/master
...
Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences
2017-04-05 16:29:41 +01:00
Ruben Dura Tari
ead8fba84b
Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences. Fixes #3954
2017-04-05 15:51:58 +01:00
Cory Benfield
342096a3b9
Merge pull request #3943 from leo-b/timeout
...
HTTPAdapter.send() timeout defaults
2017-04-03 16:45:11 +01:00
Alexander 'Leo' Bergolth
1be6a17edc
oops! import Timeout as Urllib3Timeout
2017-04-03 16:49:46 +02:00
Alexander 'Leo' Bergolth
28768b945c
use @pytest.mark.parametrize
2017-04-03 16:32:38 +02:00
Alexander 'Leo' Bergolth
93cb1ca763
add some tests for passing in Timeout objects
2017-04-02 15:20:29 +02:00
Cory Benfield
1be8e19403
Merge pull request #3952 from tonybaloney/master
...
Small help in docs to indicate client side authentication
2017-04-02 11:41:53 +01:00
Anthony Shaw
a63ae02e34
Update sessions.py
...
Update docstring for the session init to explain what the cert kwarg types are for.
2017-04-02 20:29:48 +10:00
Anthony Shaw
3cb7539981
Update advanced.rst
...
break client side certificates out into a sub header
2017-04-02 20:21:37 +10:00
Alexander 'Leo' Bergolth
4c13678587
remove change for timeout=None
2017-03-30 16:20:39 +02:00
Alexander 'Leo' Bergolth
1e7ae063ce
whitespace
2017-03-29 18:20:11 +02:00
Alexander 'Leo' Bergolth
fe58c6fdd6
small rearrangement
2017-03-29 18:01:18 +02:00
Alexander 'Leo' Bergolth
a180db963f
allow urllib3 Timeout objects as timeout parameter for HTTPAdapter.send()
...
omit timeout argument when calling urlopen on the connection. this allows setting a default timeout at connection pool level:
adapter.poolmanager.connection_pool_kw['timeout'] = urllib3.Timeout(...)
2017-03-29 16:53:28 +02:00
Ian Cordasco
567e12bfb8
Add debugging submodule for bug reporters
...
The suggested usage in a bug report would be
python -c 'from requests import _bug; _bug.print_information()'
This should generate most of the information we tend to ask for
repeatedly from bug reporters.
2017-03-23 07:22:55 -05:00
Cory Benfield
993cbf5741
Merge pull request #3927 from bagerard/raise_IOError_invalid_certificate_files
...
Raise IOError when providing an invalid path to a CA bundle or …
2017-03-22 20:41:07 +00:00
Bastien Gérard
4207867aaf
PR review fixes:
...
- used httpbin_secure for tests
- updated docstring related to `verify` param"
- used TLS acronym instead of SSL
2017-03-22 21:28:38 +01:00
Bastien Gérard
42ec8b08f2
#3927 fixes based on review
2017-03-22 21:28:38 +01:00
Bastien Gérard
7d8b87c37f
#3926 raise IOError when providing an invalid path to a CA bundle or certificate files
2017-03-22 21:28:38 +01:00
kennethreitz
b60c5a5ed4
Merge branch 'master' of github.com:kennethreitz/requests
2017-03-19 21:14:17 -04:00
kennethreitz
1cb759a9d9
roman numberals
2017-03-19 21:14:08 -04:00
Cory Benfield
73456b0048
Merge pull request #3923 from vbarbaresi/3.0.0-iter_lines
...
Rebase #3745 and add some tests
2017-03-16 09:53:03 +00:00
Vincent Barbaresi
d491e9f9b2
use [-1] instead of endswith() to work with bytes or string
...
Also add a parametrize on decode_unicode for iter_lines() test
to check with bytestrings and str content
2017-03-15 22:29:18 +01:00
Vincent Barbaresi
052595ffbf
add explanatory comment about skipping null chunks in iter_lines
2017-03-15 12:16:32 +01:00
Vincent Barbaresi
cc2ac23c0d
remove useless brackets in iter_lines boolean condition
2017-03-15 01:37:55 +01:00
Vincent Barbaresi
5a8bc19384
add more tests for iter_lines()
...
check the case of an empty chunk somewhere in the stream
2017-03-15 01:37:55 +01:00
Vincent Barbaresi
0380ac5893
add some parametrized tests for iter_lines()
...
Write a list of different chunk splits and their expected results
to test against, using ianepperson's breakdown as specification:
https://github.com/kennethreitz/requests/pull/2431#issuecomment-72333964
2017-03-15 01:37:48 +01:00
Alex Chan
9881be25f3
Review markups for @Lukasa
2017-03-14 16:57:52 +01:00
Ian Epperson
9174925916
Fix bug when delimiter is split between responses
2017-03-14 16:57:52 +01:00
Ian Epperson
02031e3e14
Test to show bug when delimiter is split between reads
2017-03-14 16:57:52 +01:00