Cory Benfield
a89d5c003a
Revert "Clarify the contract of Response#ok, and avoid exceptions in it"
...
This reverts commit 086e19d8e1 .
2015-10-03 18:32:28 +01:00
Hosam Aly
086e19d8e1
Clarify the contract of Response#ok, and avoid exceptions in it
2015-10-03 16:34:36 +01:00
Hosam Aly
443d07e0d3
Fix #2799 : Update Quickstart documentation of Response.json()
2015-10-03 00:01:58 +01:00
Cory Benfield
3c6f89b8f4
Merge pull request #2798 from Doctor-love/patch-1
...
Clarified description for option "trust_env"
2015-10-02 13:48:56 +01:00
Doctor-love
63b3b9be55
Clarified description for option "trust_env"
2015-10-02 14:47:50 +02:00
Cory Benfield
610fbd062f
Merge pull request #2797 from sumitbinnani/DocumentationCorrection
...
Updated Documentation for Issue #2756
2015-10-02 10:08:23 +01:00
sumitbinnani
bf38d5bf52
Update models.py
...
Updated Documentation:
```data``` as well as ```files``` supersedes json
2015-10-02 13:50:52 +05:30
Cory Benfield
aead8c347c
Merge pull request #2792 from Lukasa/update-test-dependencies
...
Update test dependencies
2015-10-01 10:27:25 +01:00
Cory Benfield
79675a0638
Update test dependencies
2015-10-01 10:26:14 +01:00
Cory Benfield
21bf8cd9bf
Merge pull request #2789 from sigmavirus24/remove-self
...
Remove offer to pair with others from README
2015-09-30 14:29:27 +01:00
Ian Cordasco
76a0d3fcb9
Remove offer to pair with others from README
2015-09-27 21:48:42 -05:00
kennethreitz
b8df8911c3
60m times
2015-09-24 13:40:49 -04:00
Cory Benfield
46ff1a9a54
Merge pull request #2775 from ueg1990/remove_unused_module
...
Removed unused module from hooks.py
2015-09-13 13:26:05 +01:00
ueg1990
649aeaa489
Removed unused module from hooks.py
2015-09-13 06:36:39 -04:00
kennethreitz
9d69c7845d
Merge pull request #2774 from ueg1990/pythonic_hooks
...
Some pythonic suggestions for requests/hooks.py
2015-09-13 01:05:34 -04:00
ueg1990
c5a41269d9
Some pythonic suggestions for requests/hooks.py
2015-09-12 20:43:25 -04:00
Cory Benfield
7c74050d66
Merge pull request #2772 from jimbrowne/master
...
Move CA Certificates documentation next to SSL Cert Verification
2015-09-11 20:22:13 +01:00
Jim Browne
2cee3bb57a
docs: move CA Certificates next to SSL Cert Verification
2015-09-11 10:50:23 -07:00
Cory Benfield
17a9e6da9e
Merge pull request #2769 from jwilk/spelling
...
docs: Fix typos
2015-09-10 22:14:11 +01:00
Jakub Wilk
e9c94e0f06
docs: Fix typos
2015-09-10 22:45:59 +02:00
Ian Cordasco
ebc38f7825
Merge pull request #2767 from ueg1990/master
...
Remove redundant function call list when iterating over status codes
2015-09-10 12:38:25 -05:00
Usman Ehtesham Gul
96e8e8b92f
Remove redundant function call list when iterating over status codes
2015-09-10 12:59:39 -04:00
Ravi Prakash Putchala
1f48a4c9ea
Removed the other 'encode' as well, in the test case.
2015-09-09 14:43:22 +05:30
Ravi Prakash Putchala
7a0cd16c1a
changed the null check for 'data' parameter to be more explicit.
...
removed the superfluous encode from the testcase.
2015-09-09 13:04:24 +05:30
Ravi Prakash Putchala
37037607b5
Fixed issue #2756
...
Now 'json' parameter will be used to prepare body only if the 'data'
parameter is not present
2015-09-08 14:45:46 +05:30
Cory Benfield
56ecdebcc5
Merge pull request #2741 from jasongrout/per-host-proxy
...
Implement per-host proxies
2015-09-06 15:02:40 +12:00
Cory Benfield
14ee84b5fd
Merge pull request #2758 from mhils/patch-1
...
Fix RFC Quotation
2015-09-06 09:01:39 +12:00
Maximilian Hils
f4eaefa63e
fix rfc quotation
2015-09-05 12:07:49 +02:00
Jason Grout
704a922fc2
Clarify documentation for per-host proxies
...
Make sure it's clear that a per-host proxy matches a scheme and exact
hostname.
2015-09-04 22:55:38 +00:00
Ian Cordasco
719c76cd9d
Merge pull request #2753 from Lukasa/ssldocs
...
Document the string form of the verify parameter.
2015-08-31 20:34:11 -05:00
Cory Benfield
7c958ee28e
Document the string form of the verify parameter.
2015-08-31 10:26:06 +01:00
Ian Cordasco
bf9e66364f
Merge pull request #2751 from carlosvargas/master
...
Add link to ES translation.
2015-08-29 07:21:07 -05:00
Carlos Vargas
00d8c24fe1
Add link to ES translation.
2015-08-28 19:12:10 -07:00
Jason Grout
4c6540898c
don't lowercase a url before urlparsing it
...
urlparse automatically lowercases the scheme and hostname
2015-08-28 20:20:07 +00:00
Jason Grout
f3d4480a33
Use url parsing to check the scheme
2015-08-28 20:06:45 +00:00
Jason Grout
fb496e4e86
Add test for per-host proxy selection
2015-08-27 18:21:04 +00:00
Jason Grout
c80121df91
Fix documentation for the proxies dictionary
2015-08-27 18:21:04 +00:00
Jason Grout
500f15da1f
Factor out the proxy selection code
2015-08-27 18:21:04 +00:00
Jason Grout
2c8721540a
Fix documentation for proxies in the Session class
2015-08-27 17:26:45 +00:00
Jason Grout
d7a3aa6188
Fix another place the proxy-selecting logic is used.
2015-08-27 17:26:14 +00:00
Ian Cordasco
bf436ea0a4
Merge pull request #2746 from csparpa/master
...
Add link to IT translation
2015-08-25 19:38:04 -05:00
csparpa
a2e828d4d7
Add link to IT translation
2015-08-25 22:09:10 +02:00
Jason Grout
22075f02d0
Clarify the per-host proxy code
2015-08-25 18:21:20 +00:00
Jason Grout
618514231b
Reword documentation for per-host proxies
2015-08-25 15:11:27 +00:00
Jason Grout
56844d1287
Add documentation for host-specific proxies
2015-08-25 14:53:52 +00:00
Cory Benfield
e57925223f
Merge pull request #2743 from sigmavirus24/fix-py26-tests
...
Fix tests on python 2.6
2015-08-25 08:27:20 +01:00
Ian Cordasco
66567e037b
Fix tests on python 2.6
2015-08-24 20:47:22 -05:00
Ian Cordasco
767cc9d2dc
Merge pull request #2742 from everett-toews/data-arg
...
Include file-like object in data arg description
2015-08-24 20:44:45 -05:00
Everett Toews
8b03cd96cb
Include file-like object in data arg description
2015-08-24 18:28:41 -05:00
Jason Grout
48fe34447d
Implement per-host proxies
...
This change allows the proxy dict to be have entries of the form
{'<scheme>://<hostname>': '<proxy>'}. Host-specific proxies will be used in
preference to the scheme-specific proxies (i.e., proxy dict entries with keys
like 'http' or 'https').
Fixes #2722
2015-08-24 21:16:35 +00:00