Christian Heimes
34af72c87d
Restrict URL preparation to HTTP/HTTPS
...
Requests treats all URLs starting with the string 'http' as HTTP URLs.
Preparation with IDNA breaks non-standard URIs like http+unix. Requests
now prepares only URLs with prefix http:// and https://.
Signed-off-by: Christian Heimes <christian@python.org >
2016-11-21 18:46:57 +01:00
kennethreitz
268672ab33
Update sidebarlogo.html
2016-11-20 22:49:17 -05:00
kennethreitz
3b956495c1
Update sidebarintro.html
2016-11-20 22:48:43 -05:00
Cory Benfield
53d4a1feee
Merge pull request #3704 from afeld/patch-1
...
clarify that the `chunk_size` is optional when streaming to a file
2016-11-17 17:27:47 +00:00
Aidan Feldman
ed3ba3dbb8
correct backtick formatting
2016-11-17 12:26:19 -05:00
Aidan Feldman
5562c0f097
clarify that the chunk_size is optional when streaming to a file
2016-11-17 12:21:58 -05:00
kennethreitz
5b66b364a7
Merge pull request #3703 from kennethreitz/revert-3700-master
...
Revert "Adding 'import requests' to readme code snippet."
2016-11-17 10:53:38 -05:00
kennethreitz
5f4d0d08de
Revert "Adding 'import requests' to readme code snippet."
2016-11-17 10:53:33 -05:00
Rakib Hasan
7e138f945e
Adding 'import requests' to readme code snippet. ( #3700 )
...
* added import requests to small demo
2016-11-17 08:23:57 +00:00
Cory Benfield
1e198f9115
Merge pull request #3697 from hussaintamboli/master
...
Fixed issue #3696 . Added a test for it as well.
2016-11-16 18:32:59 +00:00
Hussain
be8b13e89b
Added myself to AUTHORS
2016-11-16 23:33:42 +05:30
Hussain
0d7de50dbd
Just lstrip instead of strip because trailing whitespace already works.
2016-11-16 23:26:48 +05:30
Hussain
248d3e9f0f
Fixed issue #3696 . Added a test for it as well.
2016-11-16 22:48:45 +05:30
Cory Benfield
eb39a557bd
v2.12.1
v2.12.1
2016-11-16 10:44:29 +00:00
Cory Benfield
e7a6893282
Merge pull request #3694 from Lukasa/prepare-1.19.1
...
Prepare 2.12.1
2016-11-16 10:44:02 +00:00
Cory Benfield
c2688bbf27
Add changelog for 1.19.1
2016-11-16 10:35:14 +00:00
Cory Benfield
e1b5e19c78
Update bundled urllib3 to 1.19.1
2016-11-16 10:34:08 +00:00
Cory Benfield
7f2a4151f7
Merge pull request #3693 from Lukasa/setuptools-extra
...
Change setuptools extra for secure extra.
2016-11-16 10:33:47 +00:00
Cory Benfield
9ec3478469
Change setuptools extra for new secure extra.
2016-11-16 10:31:39 +00:00
Cory Benfield
341f288449
Merge pull request #3691 from Cleod9/readme-typo-domain-arg
...
Fixes small readme typo - site => domain
2016-11-16 08:39:06 +00:00
Cory Benfield
3ea3324434
Merge pull request #3690 from galgeek/clarify-allow_redirects
...
Clarify allow_redirects
2016-11-16 08:38:33 +00:00
Greg McLeod
b4d843bad2
Fixed readme typo - 'site' should be 'domain'
2016-11-15 22:27:45 -05:00
Barbara Miller
eaf9a688c5
Clarify allow_redirects
...
Make consistent with quickstart doc.
2016-11-15 18:59:05 -08:00
Cory Benfield
9a0a6cab55
Merge pull request #3688 from nateprewitt/release-docs-fix
...
spelling fix for release-process.rst
2016-11-15 20:30:21 +00:00
Nate Prewitt
87b7914bb2
spelling fix for release-process
2016-11-15 13:11:58 -07:00
Cory Benfield
512a78173a
Merge pull request #3684 from nateprewitt/fixing_url_tests_without_method
...
Add method to url tests
2016-11-15 17:51:42 +00:00
Nate Prewitt
5bb01fbfe8
adding method to url tests
2016-11-15 10:46:10 -07:00
Cory Benfield
362da46e9a
v2.12.0
v2.12.0
2016-11-15 10:30:17 +00:00
Cory Benfield
2d211d59a0
Fix tests for new urllib3 exception text.
2016-11-15 10:22:38 +00:00
Cory Benfield
72d69d7b62
Update certifi certs to 2016.09.26
2016-11-15 10:11:58 +00:00
Cory Benfield
99fa7becf2
Update urllib3 to 1.19
2016-11-15 10:09:11 +00:00
Cory Benfield
e2408fce9d
Merge pull request #3679 from mlissner/patch-2
...
Amplifies the timeout warning in the docs.
2016-11-14 17:58:13 +00:00
Mike Lissner
cfb7fd8f28
Amplifies the timeout warning in the docs.
...
Partially addresses #3070 .
2016-11-14 09:57:08 -08:00
Cory Benfield
33bd38be15
Merge pull request #3678 from nateprewitt/3675_streaming_docs
...
decoding fix for Streaming Requests docs
2016-11-14 16:55:33 +00:00
Nate Prewitt
d81ad06c64
documentation on encoding fallback for streaming
2016-11-14 09:52:40 -07:00
Nate Prewitt
71b8941f0e
adding decoding requirement for Python 3
2016-11-14 09:43:19 -07:00
kennethreitz
70f1f8ed35
Merge pull request #3671 from chris-martin/json-ValueError
...
Document that Response.json() may raise ValueError
2016-11-10 18:18:16 -05:00
Chris Martin
a49c387b7a
Document that Response.json() may raise ValueError
2016-11-10 16:26:07 -05:00
Cory Benfield
d24da4a953
Merge pull request #3489 from nateprewitt/1558_pickling_prepared_request
...
adding in pickling tests for PreparedRequest
2016-11-10 17:26:47 +00:00
Nate Prewitt
340902153f
updating pickling tests for PreparedRequest
2016-11-04 10:56:13 -06:00
Cory Benfield
80634b2fad
Merge pull request #3666 from hootnot/doc-patch
...
documentation line added for consistency with the post method
2016-11-03 10:39:47 +00:00
Cory Benfield
f72684e13c
Merge pull request #3655 from nateprewitt/tzickel_post_redirect_w_streamable
...
Rewind readable body before POST redirect
2016-11-03 10:31:04 +00:00
hootnot
623d9e7878
documentation line added for consistency with the post method
2016-11-03 11:10:59 +01:00
Cory Benfield
87e40d116f
Merge pull request #3663 from nateprewitt/fix_cookiejar_from_dict_docs_path
...
fix path for cookiejar_from_dict in api.rst
2016-11-03 10:06:53 +00:00
Nate Prewitt
b5ca0c8d58
correct module for cookiejar_from_dict in docs
2016-11-02 14:59:08 -06:00
Nate Prewitt
522d37c959
update 307 tests to check body content
2016-11-02 12:04:44 -06:00
tzickel
38dd089c5f
Test case for requests getting stuck on post redirect with seekable stream
2016-11-02 12:03:19 -06:00
Nate Prewitt
9849c27b70
test _body_position and rewind_body
2016-11-02 10:12:22 -06:00
Nate Prewitt
40402cd0dd
adding rewind for re-POST bodies
2016-11-02 09:56:56 -06:00
Cory Benfield
bf19750c0a
Merge pull request #3660 from pawelmhm/proxy_empty_pass
...
[httpAdapter] allow empty password in proxy credentials
2016-10-31 13:59:16 +00:00