Cory Benfield
552ab7a064
Merge pull request #3922 from bgschiller/patch-1
...
Change apostrophe placement in advanced.rst
2017-03-14 15:40:49 +00:00
Brian Schiller
e0ba82949b
Change apostrophe placement in advanced.rst
...
See Rule2a on http://www.grammarbook.com/punctuation/apostro.asp
2017-03-14 10:09:41 -05:00
Cory Benfield
29085e7d95
Merge pull request #3920 from dufferzafar/patch-1
...
Update README.rst - add 'of'
2017-03-09 08:16:31 +00:00
Shadab Zafar
4acdb99752
Update README.rst
2017-03-09 12:49:52 +05:30
Cory Benfield
c43fefa7ed
Merge pull request #3913 from StyXman/patch-1
...
Add mention to list of tuples as data param.
2017-03-07 09:43:26 +00:00
Marcos Dione
2e9e944bc1
Removed sentence as suggested.
...
Fair enough...
2017-03-07 10:34:21 +01:00
Marcos Dione
16f6e25176
Add mention to list od tuples as data param.
...
`requests.request` accepts list of tuples in the `data` param, but thereś no mention of it in the docs.
2017-03-07 10:26:51 +01:00
Cory Benfield
62bd9247ba
Merge pull request #3909 from sigmavirus24/updates-for-3885
...
Update implementation of TimedCache object
2017-03-04 15:27:45 +00:00
Ian Cordasco
8e6e47af43
Update implementation of TimedCache object
...
There were some odd decisions made about the implementation of some of
the required methods for MuttableMapping in the TimedCache object. This
cleans those up and makes the implementation, ever so slightly, easier
to read.
See also #3885
2017-03-04 09:03:03 -06:00
kennethreitz
41a33f2e86
Update README.rst
2017-03-02 17:31:38 -08:00
Cory Benfield
84dc6b66da
Merge pull request #3898 from nateprewitt/duplicate_exception
...
remove redundant exception declaration
2017-03-02 14:41:17 +00:00
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
Cory Benfield
3e0d78fdaf
Merge pull request #3901 from nedbat/master
...
Smaller logo
2017-03-01 20:05:13 +00:00
Ned Batchelder
eca8351491
Smaller logo
2017-03-01 14:52:34 -05:00
Gary Wu
21972c4601
fix #3902 Add proposed documentation change for post data
2017-03-01 13:04:11 -06:00
Cory Benfield
3f3df8b5ff
Merge pull request #3900 from lutzhorn/master
...
fixed #3894 by mentioning form-encoding of dict
2017-03-01 15:30:36 +00:00
Lutz Horn
3d22f9f5ab
fixed #3894 by mentioning form-encoding of dict
...
The optional `data` parameter will be form-encoded, if a dictionary is provided.
2017-03-01 16:00:08 +01:00
Nate Prewitt
5a65a0dab1
use InvalidHeader instead of ConflictingHeaderError
2017-03-01 07:32:14 -07:00
Nate Prewitt
3046a1eb54
remove redundant exception declaration
2017-02-28 16:08:48 -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
Victor Pfautz
2aaf6ac038
Fixed some typos ( #3892 )
...
* Fixed some typos
2017-02-27 16:25:10 +00:00
Cory Benfield
45a2977e1b
Merge pull request #3885 from davidfontenot/cache_proxy_bypass
...
Cache proxy bypass
2017-02-27 08:56:43 +00: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
David Fontenot
c121b98c4e
wrapped proxy_bypass() with cache lookup
...
Used to alleviate long gethostbyaddr calls
Made new TimedCache and decorator to wrap
a function with a cache
* Entries looked up older than a minute (default amount)
are evicted.
* When full, evicts the oldest entry
2017-02-23 14:04:16 -08: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
Ian Cordasco
d6f4818c0b
Merge pull request #3877 from sigmavirus24/update-docstring
...
Correct docstring for Response.ok
2017-02-16 07:37:18 -06:00
Ian Cordasco
8e049bd9eb
Update docstrings for Response.__{bool,nonzero}__
...
Like the docstring added to Response.ok these were misleading and
vaguely incorrect. Better to be explicit than implicit.
2017-02-16 07:21:15 -06:00
Ian Cordasco
7a281e74ec
Correct docstring for Response.ok
2017-02-16 07:15:37 -06:00
Cory Benfield
e674aa1c8c
Merge pull request #3876 from mislavcimpersak/hotfix/response_ok_docstring
...
added docstring for response.ok property
2017-02-16 09:30:11 +00:00
Mislav Cimperšak
3664682539
added docstring for response.ok property
2017-02-16 10:06:28 +01:00
kennethreitz
655f0edbb4
better testimonials
2017-02-14 17:00:17 -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