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
Cory Benfield
cef2589436
Merge pull request #2740 from qingyunha/master
...
params of proxy_headers are inconsistent with its docstrings
2015-08-24 13:43:01 +01:00
qingyunha
9d88810d52
modify proxy_headers docstrings
2015-08-24 19:48:17 +08:00
Cory Benfield
5d6d1bc284
Merge pull request #2737 from mjpieters/fix_dict_iteration_issue_2706
...
Avoid altering dictionary size during iteration
2015-08-21 09:08:19 +01:00
Martijn Pieters
4947cd01ae
Avoid altering dictionary size during iteration, by gathering keys that need to be deleted first.
...
Fixes `RuntimeError` on Python 3 introduced in 53ea23128e
2015-08-21 08:44:09 +01:00
Ian Cordasco
c7c26fb8eb
Merge pull request #2730 from bmispelon/doc-codeblock-fix
...
Fixed minor rendering issue in documentation code blocks
2015-08-15 15:02:06 -05:00
Baptiste Mispelon
7197afa887
Fixed minor rendering issue in documentation code blocks
2015-08-15 21:56:24 +02:00
Cory Benfield
3cf4ec41b9
Merge pull request #2729 from smiley/patch-1
...
Add own name to "AUTHORS" after PR #2724
2015-08-15 14:42:21 -04:00
Smiley Barry
2411b1f56a
Added name to AUTHORS after PR #2724
2015-08-15 21:00:13 +03:00
Ian Cordasco
53ea23128e
Merge pull request #2706 from ak1r4/fix-merge-setting
...
Fix merge setting for not preserving original order of dict parameters
2015-08-15 10:39:46 -05:00
Cory Benfield
fdc76f12e5
Merge pull request #2728 from lukasgraf/docs-fix-timeout-links
...
Docs: Fix links to `timeouts` section by using :ref:
2015-08-15 09:24:20 -04:00
Lukas Graf
f40bd0f707
Docs: Fix links to timeouts section by using :ref: instead of
...
linking to .html files.
2015-08-15 12:03:05 +02:00
Cory Benfield
98a59e4894
Merge pull request #2724 from smiley/master
...
Add documentation in "More complicated POST requests" (Quickstart) to resolve #2686
2015-08-14 15:30:00 -04:00
Smiley Barry
b1de7e7287
Changed phrasing to be a little clearer.
2015-08-14 17:31:54 +03:00
Smiley Barry
5a9097dc4b
Update quickstart.rst
...
Added note about the `json` parameter in `requests.post`.
2015-08-14 17:15:51 +03:00
Cory Benfield
b6127ca9ca
Ignore empty fields in no_proxy
2015-08-13 15:04:49 -04:00
Ian Cordasco
408d75d47a
Merge pull request #2713 from lukasgraf/master
...
Docs: Clarify that method-level parameters are not persisted in sessions.
2015-08-07 20:18:21 -05:00
Lukas Graf
1bb91653cc
Docs: Clarify that method-level params are not persisted in sessions.
2015-08-08 01:57:06 +02:00
kennethreitz
313143959e
Merge pull request #2712 from lukasgraf/master
...
Document use of sessions as context managers
2015-08-07 16:41:21 -04:00
Lukas Graf
8f3ddbeefb
Mention connection pooling in session docs.
2015-08-07 20:48:07 +02:00
Lukas Graf
75c1776bde
Document use of sessions as context managers.
2015-08-07 20:48:03 +02:00
Cory Benfield
5d7392f140
Merge branch 'fix-merge-setting' of https://github.com/ak1r4/requests into proposed/2.8.0
2015-08-06 19:06:23 -04:00
Akira J
276202f51e
Fix merge setting for not preserving original order of dict parameters
2015-08-04 22:47:12 +01:00
Cory Benfield
9b067db19e
Merge pull request #2704 from sYnfo/patch-1
...
Mention SNI being backported to Python2.7.9 in FAQ
2015-08-04 09:54:30 -04:00
Matej Stuchlik
e8a4784c8f
Mention SNI being backported to Python2.7.9 in FAQ
...
That happened as part of PEP 466 - "Network Security Enhancements for Python 2.7"
2015-08-04 15:05:35 +02:00
Cory Benfield
9648301e1e
Merge pull request #2680 from peplin/patch-1
...
Fix docs for passing a list of values for a query string
2015-07-19 10:57:01 +01:00
Christopher Peplin
6648defcdd
Fix docs for passing a list of values for a query string
...
The special `[]` notation at the end of the field name is not necessary to get a field to appear with multiple values in the query string.
2015-07-18 18:50:29 -04:00
Ian Cordasco
873f834fc9
Merge remote-tracking branch 'upstream/master' into proposed/2.8.0
2015-07-18 10:57:34 -05:00
Ian Cordasco
31817b66c6
Fix pool connection closed test
2015-07-18 10:57:28 -05:00
Cory Benfield
b4c1feac43
Merge pull request #2679 from sigmavirus24/bug/2668
...
Remove broken CaseInsensitiveDict repr test
2015-07-18 16:48:26 +01:00
Ian Cordasco
b8a297baab
Remove broken CaseInsensitiveDict repr test
...
Fixes #2668
2015-07-18 10:47:26 -05:00
Ian Cordasco
d0aecb271f
Merge pull request #2506 from Lukasa/chunkeddocs
...
Expand on chunked handling.
2015-07-18 10:44:31 -05:00
Ian Cordasco
d7026bfb2a
Upgrade urllib3 to 7fcfcd08a6a2150f93144d111904d1e4fb65c909
2015-07-18 10:43:26 -05:00
Cory Benfield
2b5cdc56f3
Expand on chunk length
2015-07-18 16:41:29 +01:00
Ian Cordasco
77d7e53c12
Merge branch 'auth-digest-multi-thread' of https://github.com/exvito/requests into proposed/2.8.0
2015-07-18 10:38:58 -05:00
Ian Cordasco
1e640c8456
Merge branch 'debian-imports' of https://github.com/untitaker/requests into proposed/2.8.0
2015-07-18 10:38:30 -05:00
Susan Tan
5ec7576f23
Catch and wrap ClosedPoolError
...
Partially resolves #1572 : "urllib3 exceptions passing through requests
API".
Inspired from Lukasa's 2605be11d82d42438ac7c3993810c955bde74cef.
2015-07-17 01:30:51 -07:00
Ian Cordasco
0be38a0c37
Merge pull request #2672 from petedmarsh/fix-custom-headers-example
...
Fix quickstart "Custom Headers" example intro
2015-07-15 20:51:06 -05:00
Peter Marsh
beaa7e4180
Fix quickstart "Custom Headers" example intro
...
Previously this section prefaced an example with:
For example, we didn't specify our content-type
But, the actual example set a custom user-agent header on the request. This
changes it to say "user-agent" instead which matches the given example.
2015-07-15 23:31:21 +01:00
Cory Benfield
2b26489f74
Merge pull request #2666 from gvangool/extra_tests
...
Adds extra tests for CaseInsensitiveDict
2015-07-14 07:57:58 +01:00