Cory Benfield [Tue, 24 Sep 2013 18:26:31 +0000 (19:26 +0100)]
Up to date CL.
Kenneth Reitz [Tue, 24 Sep 2013 18:17:17 +0000 (14:17 -0400)]
2.0.0
Kenneth Reitz [Tue, 24 Sep 2013 18:13:28 +0000 (14:13 -0400)]
merge 2.0 insto master
Kenneth Reitz [Tue, 24 Sep 2013 18:08:28 +0000 (14:08 -0400)]
runscope!
Kenneth Reitz [Tue, 24 Sep 2013 18:06:24 +0000 (14:06 -0400)]
prototype for new urllib3 timeouts
Kenneth Reitz [Tue, 24 Sep 2013 17:59:38 +0000 (13:59 -0400)]
new urllib3
Kenneth Reitz [Tue, 24 Sep 2013 17:48:07 +0000 (10:48 -0700)]
Merge pull request #1503 from skastel/master
Fixing error return to be consistent with tuple return at the end of the method
Kenneth Reitz [Tue, 24 Sep 2013 17:46:16 +0000 (10:46 -0700)]
Merge pull request #1602 from sigmavirus24/handle_multiple_qop_types
Handle multiple qop types
Kenneth Reitz [Tue, 24 Sep 2013 17:45:46 +0000 (10:45 -0700)]
Merge pull request #1585 from rvoicilas/master
Use values() when the keys are not being used
Kenneth Reitz [Tue, 24 Sep 2013 17:45:11 +0000 (10:45 -0700)]
Merge pull request #1541 from Lukasa/releasenote
[2.0] Tracking PR for the 2.0 changelog
Kenneth Reitz [Tue, 24 Sep 2013 17:39:09 +0000 (10:39 -0700)]
Merge pull request #1565 from Lukasa/relative
Don't absolute import things we've vendored.
Kenneth Reitz [Tue, 24 Sep 2013 17:31:29 +0000 (13:31 -0400)]
runscope
Ian Cordasco [Sat, 14 Sep 2013 03:29:39 +0000 (22:29 -0500)]
Handle case when WWW-Authenticate returns multiple qops
In Digest Access Authentication there are two possible values (four if you
count the not-present and both cases) for authentication. We were narrowly
handling one of the four cases. Now we handle two.
Kenneth Reitz [Fri, 13 Sep 2013 13:17:41 +0000 (06:17 -0700)]
Merge pull request #1598 from Lukasa/defaults
[2.0] Python default arguments are hard
Cory Benfield [Fri, 13 Sep 2013 13:10:09 +0000 (14:10 +0100)]
Python defaults arguments are hard.
Cory Benfield [Thu, 12 Sep 2013 09:34:34 +0000 (10:34 +0100)]
Fixup unicode in AUTHORS file
Cory Benfield [Thu, 12 Sep 2013 09:29:16 +0000 (02:29 -0700)]
Merge pull request #1592 from homm/master
remove extra mention of dangerous `r.raw`
homm [Thu, 12 Sep 2013 09:27:06 +0000 (13:27 +0400)]
Update AUTHORS.rst
homm [Thu, 12 Sep 2013 09:21:54 +0000 (13:21 +0400)]
fix spelling
homm [Thu, 12 Sep 2013 09:13:51 +0000 (13:13 +0400)]
clearly describe `r.raw` in Body Content Workflow
homm [Thu, 12 Sep 2013 06:20:47 +0000 (10:20 +0400)]
remove extra mention of dangerous `r.raw`
Cory Benfield [Wed, 11 Sep 2013 15:16:29 +0000 (08:16 -0700)]
Merge pull request #1591 from sayanchowdhury/patch-1
minor typo: Fix requests spelling
Sayan Chowdhury [Wed, 11 Sep 2013 14:51:57 +0000 (20:21 +0530)]
minor typo: Fix requests spelling
Cory Benfield [Tue, 10 Sep 2013 13:43:04 +0000 (06:43 -0700)]
Merge pull request #1587 from kracekumar/patch-1
Fixed persistence spelling
kracekumar [Tue, 10 Sep 2013 12:22:29 +0000 (17:52 +0530)]
Fixed persistence spelling
Radu Voicilas [Mon, 9 Sep 2013 12:21:36 +0000 (15:21 +0300)]
Use values() when the keys are not being used
Cory Benfield [Sun, 8 Sep 2013 15:05:00 +0000 (08:05 -0700)]
Merge pull request #1579 from yang/patch-1
Clarify timeout behavior in quickstart doc
Yang Zhang [Sat, 7 Sep 2013 07:16:09 +0000 (00:16 -0700)]
Fix typo in Timeouts doc
Yang Zhang [Sat, 7 Sep 2013 02:27:57 +0000 (19:27 -0700)]
Clarify timeout behavior in quickstart doc
Cory Benfield [Thu, 5 Sep 2013 06:44:28 +0000 (23:44 -0700)]
Merge pull request #1578 from jparise/jparise-authors
Adding myself to the list of contributors.
Jon Parise [Wed, 4 Sep 2013 16:00:03 +0000 (09:00 -0700)]
Adding myself to the list of contributors.
Kenneth Reitz [Wed, 4 Sep 2013 02:42:43 +0000 (19:42 -0700)]
Merge pull request #1575 from jparise/content-encoding
Improved content encoding detection.
Jon Parise [Tue, 3 Sep 2013 23:16:46 +0000 (16:16 -0700)]
Improved content encoding detection.
get_encodings_from_content() can now detect HTML in-document content
encoding declarations in the following formats:
- HTML5
- HTML4
- XHTML 1.x served with text/html MIME type
- XHTML 1.x served as XML
Ref: http://www.w3.org/International/questions/qa-html-encoding-declarations
Cory Benfield [Sun, 1 Sep 2013 18:25:04 +0000 (11:25 -0700)]
Merge pull request #1566 from sigmavirus24/update_readme
Add link to Contributor Friendly tag in README
Ian Cordasco [Sun, 1 Sep 2013 18:21:55 +0000 (13:21 -0500)]
Add link to Contributor Friendly tag
Add note that I'm willing to help anyone who is looking to submit a pull request
Cory Benfield [Sun, 1 Sep 2013 17:46:46 +0000 (18:46 +0100)]
Bring release note current to 1st Sept.
Cory Benfield [Sun, 1 Sep 2013 17:10:09 +0000 (18:10 +0100)]
Don't absolute import vendored things.
Cory Benfield [Tue, 27 Aug 2013 15:03:33 +0000 (08:03 -0700)]
Merge pull request #1556 from ssbarnea/master
Added link to StackOverflow questions related to python-requests. This s...
Sorin Sbarnea [Tue, 27 Aug 2013 14:39:07 +0000 (15:39 +0100)]
Added link to StackOverflow questions related to python-requests. This should be the default support way for the library, as clearly most questions are supposed to be programming related.
Signed-off-by: Sorin Sbarnea <sorin.sbarnea@citrix.com>
Kenneth Reitz [Sat, 24 Aug 2013 00:23:57 +0000 (17:23 -0700)]
Merge pull request #1552 from Lukasa/noproxy
Allow spaces in the no_proxy environ variable
Cory Benfield [Fri, 23 Aug 2013 11:37:03 +0000 (12:37 +0100)]
Allow spaces in the no_proxy environ variable.
Kenneth Reitz [Wed, 21 Aug 2013 18:46:27 +0000 (11:46 -0700)]
Merge pull request #1537 from Lukasa/datetime
Allow non-string objects to be posted as data alongside files.
Kenneth Reitz [Wed, 21 Aug 2013 18:28:23 +0000 (11:28 -0700)]
Merge pull request #1527 from paul-matthews/restrict-hooks-access
Raise an error for unsupported hook event
Kenneth Reitz [Wed, 21 Aug 2013 18:25:20 +0000 (11:25 -0700)]
Merge pull request #1536 from Lukasa/IOError
RequestsException subclasses IOError
Cory Benfield [Mon, 19 Aug 2013 12:28:05 +0000 (13:28 +0100)]
Begin work on the 2.0 changelog.
Cory Benfield [Sun, 18 Aug 2013 20:03:03 +0000 (13:03 -0700)]
Merge pull request #1540 from libbkmz/master
Event hooks update
libbkmz [Sun, 18 Aug 2013 20:01:37 +0000 (00:01 +0400)]
Update advanced.rst
Cory Benfield [Sun, 18 Aug 2013 06:26:59 +0000 (23:26 -0700)]
Merge pull request #1538 from enkore/patch-1
Remove superfluous double dot
enkore [Sun, 18 Aug 2013 01:06:34 +0000 (03:06 +0200)]
Remove superfluous double dot
Cory Benfield [Sat, 17 Aug 2013 06:27:58 +0000 (07:27 +0100)]
Allow non-string objects to be data with files
Cory Benfield [Sat, 17 Aug 2013 06:17:03 +0000 (07:17 +0100)]
RequestException subclasses IOError.
Kenneth Reitz [Sat, 17 Aug 2013 03:15:18 +0000 (20:15 -0700)]
Merge pull request #1535 from sigmavirus24/ignore_original_response_if_none
Skip cookie extraction if necessary
Ian Cordasco [Sat, 17 Aug 2013 02:38:20 +0000 (21:38 -0500)]
Skip cookie extraction if necessary
If _original_response is never set/is None, then don't try to extract cookies
from the response.
Kenneth Reitz [Wed, 14 Aug 2013 20:41:08 +0000 (13:41 -0700)]
Merge pull request #1515 from schlamar/https-proxy-2.0
[2.0] Https proxy support
Cory Benfield [Wed, 14 Aug 2013 08:47:44 +0000 (09:47 +0100)]
Add proxy_headers functionality.
This brings us in line with urllib3's fancy new magic for sending
headers to HTTP(S) proxies.
Paul Matthews [Mon, 12 Aug 2013 13:20:25 +0000 (14:20 +0100)]
Raise an error for unsupported hook event
* Raises a ValueError for an unsupported hook event
Stephen Huenneke [Thu, 8 Aug 2013 15:48:42 +0000 (08:48 -0700)]
Fixing tests to verify thrown ValueError's.
Stephen Huenneke [Tue, 6 Aug 2013 18:04:03 +0000 (11:04 -0700)]
Raising ValueError's when we're passed inconsistent POST data and files dict.
Kenneth Reitz [Tue, 6 Aug 2013 15:43:44 +0000 (08:43 -0700)]
Merge pull request #1516 from Lukasa/io
UnsupportedOperation errors
Cory Benfield [Sat, 3 Aug 2013 18:24:23 +0000 (19:24 +0100)]
Catch UnsupportedOperation.
schlamar [Thu, 1 Aug 2013 20:09:06 +0000 (22:09 +0200)]
Added entry to AUTHORS.
schlamar [Thu, 1 Aug 2013 20:08:22 +0000 (22:08 +0200)]
Added proxy support to feature list.
ms4py [Mon, 4 Mar 2013 08:39:16 +0000 (09:39 +0100)]
Cache manager for proxy connection.
ms4py [Mon, 4 Mar 2013 08:20:47 +0000 (09:20 +0100)]
Fix for new proxy API.
ms4py [Mon, 4 Mar 2013 08:20:24 +0000 (09:20 +0100)]
Update urllib3 to 14b8945
Kenneth Reitz [Fri, 2 Aug 2013 16:48:33 +0000 (09:48 -0700)]
Merge pull request #1514 from Lukasa/verror
Better percent-escape exception.
Cory Benfield [Fri, 2 Aug 2013 11:29:23 +0000 (12:29 +0100)]
Better percent-escape exception.
Kenneth Reitz [Thu, 1 Aug 2013 01:36:07 +0000 (18:36 -0700)]
Merge pull request #1508 from dieterv/master
remove duplicate comment
Kenneth Reitz [Thu, 1 Aug 2013 01:33:24 +0000 (21:33 -0400)]
Merge branch 'fix_401_cookies' of git://github.com/sigmavirus24/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:27:01 +0000 (21:27 -0400)]
Merge branch 'proxyscheme' of git://github.com/Lukasa/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:25:57 +0000 (21:25 -0400)]
Merge branch 'keytype' of git://github.com/Lukasa/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:23:43 +0000 (18:23 -0700)]
Merge pull request #1500 from gavrie/master
Update urllib3 to d89d508
Kenneth Reitz [Thu, 1 Aug 2013 01:23:34 +0000 (18:23 -0700)]
Merge pull request #1487 from dpursehouse/rewrite-test_mixed_case_scheme_acceptable
Rewrite test cases to remove dependency on httpbin.org and example.com
Kenneth Reitz [Thu, 1 Aug 2013 01:23:14 +0000 (18:23 -0700)]
Merge pull request #1498 from Lukasa/incompleteread
Wrap IncompleteRead in ChunkedEncodingError.
Kenneth Reitz [Thu, 1 Aug 2013 01:22:58 +0000 (18:22 -0700)]
Merge pull request #1501 from sigmavirus24/remove_setting_of_hooks
Fix duplication of efforts caught by @dofelw
Kenneth Reitz [Thu, 1 Aug 2013 01:22:02 +0000 (18:22 -0700)]
Merge pull request #1506 from Lukasa/mockrequest
Provide 'host' parameter to MockRequest.
Kenneth Reitz [Thu, 1 Aug 2013 01:21:28 +0000 (18:21 -0700)]
Merge pull request #1507 from buzztabapp/prepared-session-requests
Allow preparing of Requests from Session settings without sending.
Robert Estelle [Wed, 31 Jul 2013 20:42:02 +0000 (13:42 -0700)]
Merge settings when creating PreparedRequest, don't copy Request.
Dieter Verfaillie [Wed, 31 Jul 2013 07:29:24 +0000 (09:29 +0200)]
remove duplicate comment
This is already mentioned at line 357...
Robert Estelle [Wed, 31 Jul 2013 06:02:13 +0000 (23:02 -0700)]
Add Session.prepare_request test case.
Robert Estelle [Wed, 31 Jul 2013 06:01:56 +0000 (23:01 -0700)]
Add Request.copy() test case.
Robert Estelle [Wed, 31 Jul 2013 05:59:51 +0000 (22:59 -0700)]
Shallow copy of Request fields in Request.copy()
This prevents e.g. modifying the headers of a copied request from
affecting the headers of its source and vice versa. Copying is used with
the intent to mutuate, so allowing this kind of mutation of fields makes
sense.
Is a deep copy better?
Robert Estelle [Wed, 31 Jul 2013 05:59:11 +0000 (22:59 -0700)]
Skip unneccessary Request.copy in Session.request
Robert Estelle [Wed, 31 Jul 2013 04:39:36 +0000 (21:39 -0700)]
Prepare requests with session settings separately from sending.
Cory Benfield [Tue, 30 Jul 2013 17:21:37 +0000 (18:21 +0100)]
Provide 'host' parameter to MockRequest.
Stephen Huenneke [Mon, 29 Jul 2013 21:42:47 +0000 (14:42 -0700)]
Making sure we check for str/unicode.
Stephen Huenneke [Mon, 29 Jul 2013 20:31:06 +0000 (13:31 -0700)]
Fixing error return to be consistent with tuple return at the end of the method.
Cory Benfield [Wed, 1 May 2013 20:49:46 +0000 (21:49 +0100)]
Instantiate the CID directly.
No need to do this the slow way now. Thanks to Colin (@cdunklau) for the
idea.
Cory Benfield [Wed, 1 May 2013 19:15:37 +0000 (20:15 +0100)]
Modify new CID tests to use native string keys.
Cory Benfield [Tue, 30 Apr 2013 19:45:37 +0000 (20:45 +0100)]
Header keys should be native strings.
This commit follows a discussion on IRC. For more information, see the
Pull Request associated with it.
Ian Cordasco [Mon, 29 Jul 2013 13:09:07 +0000 (08:09 -0500)]
Fix duplication of efforts caught by @dofelw
Gavrie Philipson [Mon, 29 Jul 2013 08:28:46 +0000 (11:28 +0300)]
Update urllib3 to d89d508
Cory Benfield [Sun, 28 Jul 2013 06:42:17 +0000 (07:42 +0100)]
Wrap IncompleteRead in ChunkedEncodingError.
Cory Benfield [Sun, 28 Jul 2013 06:16:06 +0000 (07:16 +0100)]
Proxy urls should have explicit schemes.
Cory Benfield [Sun, 28 Jul 2013 06:04:34 +0000 (23:04 -0700)]
Merge pull request #1494 from Lukasa/close
Document the Response.close() method.
Ian Cordasco [Sun, 28 Jul 2013 03:08:46 +0000 (23:08 -0400)]
Take advantage of the new copy method
Ian Cordasco [Fri, 26 Jul 2013 15:50:19 +0000 (10:50 -0500)]
Fixed finally. Also requires updated httpbin.org
Ian Cordasco [Fri, 19 Jul 2013 20:55:02 +0000 (15:55 -0500)]
Make the regular tests pass
I broke Digest Auth completely
Ian Ross and Ian Cordasco [Fri, 19 Jul 2013 20:13:28 +0000 (15:13 -0500)]
Start work on sending cookies back
On 401's the cookies received aren't sent back to the server. See: #1336
Kenneth Reitz [Sat, 27 Jul 2013 01:16:00 +0000 (18:16 -0700)]
Merge pull request #1476 from sigmavirus24/add_copy_to_prepared_requests
[2.0] Add copy method to PreparedRequest objects