kennethreitz
a94b3e4513
update version and (c)
2016-02-03 03:57:41 -05:00
kennethreitz
d6538d7034
requests.get(..., session=Session())
2016-02-02 02:23:55 -05:00
kennethreitz
0e51e48473
PreparedRequest.send()
2016-02-02 02:12:38 -05:00
kennethreitz
be83be2457
lots of docstrings
2016-02-02 01:42:48 -05:00
kennethreitz
0d8f38a403
cleaned up Session.resolve_redirects() code
2016-02-02 00:56:53 -05:00
kennethreitz
66eedec782
Session.resolve_redirects code cleanup
2016-02-02 00:48:09 -05:00
kennethreitz
4dfe7a4885
Remove req argument from Session.resolve_redirects
2016-02-02 00:31:08 -05:00
kennethreitz
0f930d99f2
resolve merge errors causing test failures
2016-02-02 00:10:06 -05:00
kennethreitz
a0b7bdd187
Merge commit '1881851' into v3.0.0
2016-02-01 23:57:29 -05:00
kennethreitz
c44fb99633
Merge commit '91eebb1' into v3.0.0
2016-02-01 23:47:05 -05:00
kennethreitz
6dff2bb71c
Merge commit '8c4d4f1af3a501ae0beec5e270f3206cda5c4842' into v3.0.0
2016-02-01 23:46:26 -05:00
kennethreitz
26cf9abfd6
Merge commit '4aa4f82b37aeb272637fafeff498014af1c11c6b' into v3.0.0
2016-02-01 23:39:17 -05:00
kennethreitz
d1871fabe9
Merge commit 'ff8153d9c56bfa62782fb99743219d0b02b512bb' into v3.0.0
2016-02-01 23:28:55 -05:00
kennethreitz
45f110b52d
Merge commit '636b946af5eac8ba4cffa63a727523cd8c2c01ab' into v3.0.0
2016-02-01 23:28:26 -05:00
Markus Unterwaditzer
2140c98fa4
Fix syntax error
2016-01-30 19:59:58 +01:00
kennethreitz
6195edc075
cleanup of auth __eq__
2016-01-29 22:18:07 -05:00
kennethreitz
f7447d1871
Merge pull request #2958 from Malizor/master
...
Add equality functions for authentication handlers
2016-01-29 22:08:26 -05:00
Carson Lam
a02069ec9e
Remove int type on max_retries argument.
2016-01-29 15:30:22 -08:00
Ryan Munro
6a8a480d6c
Review changes to TooManyRedirect exception with response
2016-01-20 10:48:12 -08:00
Ryan Munro
e6f218f3f6
Return request & response with TooManyRedirects
2016-01-19 16:44:58 -08:00
Chad Whitacre
f8d2fb83a3
Rename {Missing,Invalid}Schema to *Scheme
...
Schemes are what they're called, not schemas.
Conflicts:
requests/models.py
2016-01-05 12:20:20 -05:00
Nicolas Delvaux
06df08e676
Add equality functions for authentication handlers
2016-01-04 17:01:06 +01:00
Cory Benfield
1108058626
v2.9.1
2015-12-21 14:53:36 +00:00
Ian Cordasco
06a411c289
Merge pull request #2937 from Lukasa/release/2.9.1
...
Release 2.9.1
2015-12-21 08:51:21 -06:00
Cory Benfield
6e0649d9f8
Push code review advice from @sigmavirus24
2015-12-19 08:44:21 +00:00
Cory Benfield
834a9601c3
Update urllib3 to 1.13.1
2015-12-19 08:40:39 +00:00
Cory Benfield
589f13ca9d
Handle bytes and unicode URLs for netloc
2015-12-18 09:22:23 +00:00
Cory Benfield
96a068b58e
Merge branch 'master' into fix-1859
2015-12-18 09:14:13 +00:00
Cory Benfield
fc8fa1aa26
Fix regression from #2844 regarding binary bodies.
2015-12-16 14:56:13 +00:00
Cory Benfield
5f7a3a74aa
v2.9.0
2015-12-15 15:29:27 +00:00
Cory Benfield
3c0f0b9ab5
Update urllib3 to 1.13
2015-12-15 14:47:20 +00:00
Brian Samek
9aca57d4bf
Revert changes to params
...
This reverts commit 9a20afd6b5 .
Docstring changes were desirable, but changes to params were not.
2015-12-11 16:47:47 -05:00
Brian Samek
9a20afd6b5
Refactor default params
...
Specified the default argument for params that have a default in the docstring
so that the default is easier to see from the code. Modified the docstring in
api.py to match the docstring in sessions.py.
2015-12-11 13:32:09 -05:00
Brian Samek
3ad66349ea
Add hint to :param verify.
...
It is not clear that :param verify defaults to True. The way the verify
portion of the docstring is written it looks like it defaults to False, and
you have to pass in True if you'd like the SSL cert to be verified, but the
opposite is the case.
2015-12-09 11:21:21 -05:00
Matt Jordan
5c19d3e07b
requests/auth: Handle an empty 'qop' attribute in a Authenticate challenge
...
Some malfunctioning HTTP servers may return a qop directive with no token, as
opposed to correctly omitting the qop directive completely. For example:
header: WWW-Authenticate: Digest realm="foobar_api_auth", qop="",
nonce="a12059eaaad0b86ece8f62f04cbafed6", algorithm="MD5",
stale="false"
Prior to this patch, requests would respond with a 'None' Authorization header.
While the server is certainly incorrect, this patch updates requests to be
more tolerant to this kind of shenaniganry. If we receive an empty string for
the value of the qop attribute, we instead treat that as if the qop attribute
was simply not provided.
Closes #2916
2015-12-05 16:14:52 -06:00
Ian Cordasco
40ce36671c
Merge pull request #2896 from BraulioVM/master
...
[WIP] Set 'Transfer-Encoding: chunked' if data is a file with length 0
2015-12-02 08:35:41 -06:00
Jakub Wilk
23d9b077d8
Fix typos
2015-12-01 12:24:56 +01:00
Olle Lundberg
68db4132e3
Update adapters.py
...
Remove duplicate word.
2015-11-25 02:02:41 +01:00
Braulio Valdivielso Martínez
4c82dbab6f
Fix 'Transfer-Encoding: chunked' change
2015-11-24 13:42:13 +01:00
Braulio Valdivielso Martínez
6f6b2fd1d5
Set 'Transfer-Encoding: chunked' if data file length equals 0
2015-11-23 20:52:06 +01:00
Ian Cordasco
5397ef71b3
Fix super_len for partially read files
...
Closes #2872
2015-11-10 21:22:24 -06:00
vienno
d849d6e907
Replace 'if x' with 'if x is not None' in cookie loop
2015-11-10 13:58:09 +01:00
vienno
89178ebcdc
Complete unnesting of if statements in cookie loop
2015-11-10 13:47:40 +01:00
vienno
a25a641fb4
unnest deep loop
2015-11-10 12:36:36 +01:00
Ian Cordasco
35170e180e
Merge pull request #2858 from Lukasa/support_ca_cert_directories
...
Add support for a directory of CAs
2015-11-07 15:39:41 -06:00
Ian Cordasco
7d5d067e9c
Merge pull request #2861 from Lukasa/broken_chunked_encoding
...
Fix breakage introduced by 8f591682
2015-11-07 11:50:50 -06:00
Artur Siekielski
1ced0040bd
Assure session is closed on exception.
2015-11-06 21:54:43 +01:00
Cory Benfield
e67cd15bc8
Fix breakage introduced by 8f591682
2015-11-05 18:54:40 +00:00
Cory Benfield
0352ec0bd3
Add support for a directory of CAs
2015-11-05 13:21:21 +00:00
Ann Paul
7dd94941c8
Add 511 Network Authentication Required status code to dict of status codes
2015-10-26 08:42:37 -07:00