Cory Benfield
35fc2b387f
Merge pull request #3897 from nateprewitt/prep_body
...
Refactor Prepare Body
2017-03-02 14:40:57 +00:00
Nate Prewitt
be2f92b9e3
updating HISTORY
2017-03-02 05:27:33 -07:00
Nate Prewitt
64b66b6409
test prepare_content_length sets expected headers
2017-03-02 05:27:22 -07:00
Nate Prewitt
5a65a0dab1
use InvalidHeader instead of ConflictingHeaderError
2017-03-01 07:32:14 -07:00
Nate Prewitt
a52fe6586c
consolidate super_len code and cleanup docstrings
2017-02-28 14:51:08 -07:00
Casey Davidson
f239fe754d
Change UnreachableCodeError to InvalidBodyError.
2017-02-28 14:49:52 -07:00
Casey Davidson
1003fdf0f2
Small fixes based on feedback in pull request.
2017-02-28 14:49:31 -07:00
Casey Davidson
033dfc165d
Raise an error if body is not null, has not length and is not streamable.
2017-02-28 14:49:20 -07:00
Casey Davidson
bfb202527d
Alternate fix for 3066 to refactor prepare_body to always call prepare_content_length.
...
This allows for the 'Content-Length' header to only be set in prepare_content_length.
2017-02-28 14:49:01 -07:00
Ian Cordasco
60339d17ee
Merge pull request #3886 from jvanasco/proposed/3.0.0
...
proposed 3.0 - altered internal loops of resolve_redirect
2017-02-25 09:05:39 -06:00
jonathan vanasco
8e07dae0fd
altered internal loops of how `SessionRedirectMixin.resolve_redirects and Session.send` handle redirect history. 3.0.0 branch
2017-02-22 13:23:21 -05:00
kennethreitz
b22833ce2a
Merge pull request #3874 from nateprewitt/merge_cleanup
...
variable name consistency
2017-02-21 14:04:24 -05:00
Nate Prewitt
b8a87e00d7
variable name consistency
2017-02-14 09:31:59 -07:00
Cory Benfield
56dd77fc52
Merge branch 'master' into proposed/3.0.0
2017-02-14 15:59:53 +00:00
Ian Cordasco
2414fa82c8
Merge pull request #3873 from nateprewitt/super_len_fix
...
properly handled failed seek
2017-02-14 09:43:19 -06:00
Nate Prewitt
f47aff68f1
properly handled failed seek
2017-02-14 07:45:41 -07:00
Cory Benfield
250b3e5c8c
Merge pull request #3868 from vmalloc/raise_for_status_return_self
...
Make Response.raise_for_status() return the response object if the response is successful
2017-02-12 09:58:08 +00:00
Rotem Yaari
efcbe93075
Make Response.raise_for_status() return the response object if the response is successful
...
This allows for chaining method calls in cases where we want to raise for bad codes but use the response otherwise,
e.g. requests.get(URL).raise_for_status().json()['value']
2017-02-12 11:11:40 +02:00
Cory Benfield
b26f4c7f58
Merge pull request #3869 from nateprewitt/auth_fix
...
revert removal of request param from resolve_redirects
2017-02-12 07:33:13 +00:00
kennethreitz
90f3842ed6
edmsynths
2017-02-12 02:18:50 -05:00
Nate Prewitt
16bbc7478f
revert removal of request param from resolve_redirects
2017-02-11 23:35:19 -07:00
kennethreitz
6cbebf782a
fixes
2017-02-11 15:17:27 -05:00
kennethreitz
f2fe735846
fixes
2017-02-11 15:16:09 -05:00
kennethreitz
e7b7574cfe
hhg2p
2017-02-11 15:14:47 -05:00
kennethreitz
6bd6249051
Merge pull request #3865 from JohnVillalovos/master
...
Allow use of 'no_proxy' in the proxies argument
2017-02-10 15:50:10 -06:00
kennethreitz
453397965b
Merge pull request #3846 from jvanasco/feature-pluggable_handling
...
initial attempt at `get_redirect_target`
2017-02-10 15:46:13 -06:00
jonathan vanasco
70f31a3166
* initial attempt at get_redirect_target
...
* removing the `i` from the redirect detection while-loop
2017-02-10 13:53:23 -05:00
kennethreitz
85a29f1da0
Merge branch 'issue2899' of https://github.com/thoger/requests into proposed/3.0.0
2017-02-10 12:44:02 -05:00
John L. Villalovos
85400d8d67
Allow use of 'no_proxy' in the proxies argument
...
Add the ability to add 'no_proxy' and a value to the 'proxies'
dictionary argument.
https://github.com/kennethreitz/requests/issues/2817
Closes gh-2817
2017-02-10 09:41:54 -08:00
Cory Benfield
241f2b2a6b
Merge branch 'master' into proposed/3.0.0
2017-02-10 17:40:52 +00:00
Cory Benfield
ad65b0cb19
Merge pull request #3862 from mattkohl/master
...
Updated docs for Pipenv
2017-02-10 12:19:01 +00:00
mattkohl
57659e5987
Removed duplicate key in Pipfile
2017-02-10 11:46:59 +00:00
mattkohl
c134388a43
Removed requirements.txt from MANIFEST.in
2017-02-10 10:51:14 +00:00
mattkohl
b41bb9ecb2
Added name & github link
2017-02-10 10:48:15 +00:00
mattkohl
a3e671d717
Updated test instructions for Pipenv
2017-02-10 10:47:40 +00:00
mattkohl
7b190acf82
Updated Pipfile to reflect version specs in setup.py; added Sphinx
2017-02-10 10:46:35 +00:00
mattkohl
a0b97253c2
Removed docs-init (depended on missing docs/requirements.txt)
2017-02-10 10:45:06 +00:00
kennethreitz
84749f08bc
Update README.rst
2017-02-09 21:31:38 -05:00
kennethreitz
e63dd1a66b
Update README.rst
2017-02-09 21:31:14 -05:00
Ian Cordasco
0bea453913
Merge pull request #3857 from Lukasa/params-docs
...
Say that we use a dictionary of strings.
2017-02-08 06:05:50 -06:00
Cory Benfield
08ce652b8b
Say that we use a dictionary of strings.
2017-02-08 11:54:32 +00:00
Cory Benfield
5c68b8f227
Merge pull request #3853 from StyXman/500-small-head
...
Do not convert /o\ into /O\
2017-02-07 16:04:24 +00:00
Marcos Dione
571d2c2cd7
Fix syntax error
...
I can only wonder how I managed to write it like that...
2017-02-07 16:57:17 +01:00
Marcos Dione
b00d8bf474
Proper version, no bugs, shorter.
2017-02-06 21:44:28 +01:00
Marcos Dione
593734b770
do not convert /o\ into /O\
2017-02-06 17:27:16 +01:00
Cory Benfield
af4052b020
Merge pull request #3851 from nateprewitt/remove_pin
...
remove pin
2017-02-03 17:21:13 +00:00
Nate Prewitt
f521a25970
remove pin
2017-02-03 09:29:13 -07:00
kennethreitz
62176a1ca7
2017
2017-02-02 16:12:33 -05:00
kennethreitz
f278344e01
updated pipfile
2017-02-02 16:12:29 -05:00
kennethreitz
c2c523ba9e
docs
2017-02-02 15:22:01 -05:00