Lucian Branescu Mihaila [Thu, 16 Aug 2012 15:49:00 +0000 (17:49 +0200)]
Remove exception eating from dispatch_hook.
Kenneth Reitz [Mon, 13 Aug 2012 21:14:19 +0000 (14:14 -0700)]
Merge pull request #774 from Lukasa/develop
Throw clear exceptions
Cory Benfield [Fri, 10 Aug 2012 16:29:12 +0000 (17:29 +0100)]
Throw InvalidURL not UnicodeError on bad label.
Cory Benfield [Fri, 10 Aug 2012 16:24:00 +0000 (17:24 +0100)]
Test for throwing useful exception on bad label.
Kenneth Reitz [Sat, 11 Aug 2012 06:30:21 +0000 (23:30 -0700)]
Merge pull request #746 from jkbr/develop
Fixed encoding of fields with the same name, multipart/form-data fixes.
Jakub Roztocil [Sat, 11 Aug 2012 06:19:35 +0000 (08:19 +0200)]
Fixed tests for Python 3 (text vs. bytes).
Jakub Roztocil [Mon, 30 Jul 2012 08:35:47 +0000 (10:35 +0200)]
Use BytesIO for bytes.
This fixes a TypeError on Python 3 that ocurred when passing
bytes as the values for files.
Jakub Roztocil [Fri, 27 Jul 2012 15:08:16 +0000 (17:08 +0200)]
Fixed encoding of fields with the same name.
* Properly handle repeated data fields for multipart/form-data requests (#737)
* Allow a list of 2-tuples as the `files` agument.
* Consistently serialize lists a of parameters (#729).
Kenneth Reitz [Fri, 10 Aug 2012 16:05:08 +0000 (09:05 -0700)]
Merge pull request #772 from Lukasa/develop
First pass at documenting encodings and RFC compliance.
Kenneth Reitz [Fri, 10 Aug 2012 16:03:09 +0000 (09:03 -0700)]
Merge pull request #773 from randomir/develop
Tests: python2.6 compat (`assertIn` new in python2.7)
Radomir Stevanovic [Fri, 10 Aug 2012 15:51:01 +0000 (17:51 +0200)]
tests: python2.6 compat (`assertIn` added in 2.7)
Cory Benfield [Fri, 10 Aug 2012 13:47:13 +0000 (14:47 +0100)]
Document encodings and RFC compliance.
Kenneth Reitz [Thu, 9 Aug 2012 04:31:30 +0000 (23:31 -0500)]
new button domain
Kenneth Reitz [Wed, 8 Aug 2012 20:23:10 +0000 (13:23 -0700)]
Merge pull request #767 from stefanp/develop
Wrap socket.error in ConnectionError (+ unit tests)
Kenneth Reitz [Wed, 8 Aug 2012 20:18:39 +0000 (13:18 -0700)]
Merge pull request #766 from Lukasa/develop
Accept objects with string representations as URLs.
Stefan Praszalowicz [Wed, 8 Aug 2012 18:12:32 +0000 (11:12 -0700)]
Wrap socket.error in ConnectionError (+ unit tests)
Cory Benfield [Wed, 8 Aug 2012 11:05:52 +0000 (12:05 +0100)]
Accept objects with string representations as URLs.
Cory Benfield [Wed, 8 Aug 2012 10:59:00 +0000 (11:59 +0100)]
Add test for Issue #423.
Kenneth Reitz [Mon, 6 Aug 2012 23:13:59 +0000 (16:13 -0700)]
Merge pull request #764 from slingamn/regressions
test and fix regressions from #760
Shivaram Lingamneni [Mon, 6 Aug 2012 23:11:45 +0000 (16:11 -0700)]
fix the tests for python 3
Shivaram Lingamneni [Mon, 6 Aug 2012 22:46:47 +0000 (15:46 -0700)]
propagate self.prefetch on redirect
fixes RequestsTestSuite.test_prefetch_redirect_bug
Shivaram Lingamneni [Mon, 6 Aug 2012 22:37:28 +0000 (15:37 -0700)]
properly handle send(prefetch=False)
fixes RequestsTestSuite.test_prefetch_return_response_interaction
Shivaram Lingamneni [Mon, 6 Aug 2012 20:57:04 +0000 (13:57 -0700)]
red tests derived from @dhagrow's examples in #760
Kenneth Reitz [Mon, 6 Aug 2012 21:05:21 +0000 (14:05 -0700)]
Merge pull request #762 from Lukasa/develop
Correctly handle encoding numbers when POSTing.
Cory Benfield [Mon, 6 Aug 2012 16:27:04 +0000 (17:27 +0100)]
Correctly handle encoding numbers when POSTing.
Kenneth Reitz [Mon, 6 Aug 2012 06:45:52 +0000 (02:45 -0400)]
v0.13.6
Kenneth Reitz [Mon, 6 Aug 2012 04:38:12 +0000 (21:38 -0700)]
Merge pull request #760 from slingamn/fix_leak.release
address connection leak issue from #520
Shivaram Lingamneni [Wed, 18 Jul 2012 02:47:13 +0000 (19:47 -0700)]
address connection leak issue from #520
* prefetch now defaults to True, ensuring that by default, sockets
are returned to the urllib3 connection pool on request end
* sessions now have a close() method, notifying urllib3 to close pooled
connections
* the module-level API, e.g., `requests.get('http://www.google.com')`,
explicitly closes its session when finished
When prefetch is False, the open socket becomes part of the state of the
Response object, and it's the client's responsibility to read the whole
body, at which point the socket will be returned to the pool.
Kenneth Reitz [Sat, 4 Aug 2012 15:39:25 +0000 (08:39 -0700)]
Merge pull request #758 from volker48/develop
Develop
Marcus McCurdy [Sat, 4 Aug 2012 13:35:32 +0000 (09:35 -0400)]
Moved fix for #747 to compat module
Marcus McCurdy [Sat, 4 Aug 2012 03:18:31 +0000 (23:18 -0400)]
Merge branch 'develop' of https://github.com/volker48/requests into develop
Marcus McCurdy [Sat, 4 Aug 2012 03:13:17 +0000 (23:13 -0400)]
Fixed issue #747
Bound the name builtin_str to __builtin__.str and added another check
for this class since the str class was rebound to unicode in compat.
This issue was only for Python 2 as well.
Marcus McCurdy [Sat, 4 Aug 2012 03:05:37 +0000 (23:05 -0400)]
Fixed test for issue #747 to check for '' instead of 'text/plain'
Marcus McCurdy [Sat, 4 Aug 2012 00:09:56 +0000 (20:09 -0400)]
Added a test to expose issue #747
Kenneth Reitz [Fri, 3 Aug 2012 16:21:28 +0000 (09:21 -0700)]
Merge pull request #754 from sigmavirus24/develop
Fix raise_for_status()
Ian Cordasco [Fri, 3 Aug 2012 15:42:36 +0000 (11:42 -0400)]
Fix raise_for_status()
Kenneth Reitz [Thu, 2 Aug 2012 20:53:05 +0000 (13:53 -0700)]
Merge pull request #751 from Lukasa/develop
Catch socket.gaierror in safe mode.
Kenneth Reitz [Thu, 2 Aug 2012 20:52:36 +0000 (13:52 -0700)]
Merge pull request #753 from berkerpeksag/if-statements
Refactoring in |raise_for_status| method.
Berker Peksag [Thu, 2 Aug 2012 20:45:06 +0000 (23:45 +0300)]
Refactoring in |raise_for_status| method.
- Simplified the if statements.
- Remove duplicate code.
Kenneth Reitz [Thu, 2 Aug 2012 11:59:38 +0000 (04:59 -0700)]
Merge pull request #752 from anentropic/patch-1
file posting example looked wrong
anentropic [Thu, 2 Aug 2012 11:56:12 +0000 (13:56 +0200)]
example looked wrong
From what I can tell from the source code (down thru urllib3) the key in the `files` dict is always the 'fieldname', while specifying a custom filename is optional.
So in this example it is confusing to have a fieldname of 'report.xls' (the filename) where all the other examples use a fieldname of 'file'.
Cory Benfield [Thu, 2 Aug 2012 11:16:41 +0000 (12:16 +0100)]
Catch socket.gaierror in safe mode.
Kenneth Reitz [Tue, 31 Jul 2012 01:13:17 +0000 (18:13 -0700)]
Merge pull request #744 from tax/develop
Set content type before authentication
Kenneth Reitz [Sat, 28 Jul 2012 21:07:53 +0000 (17:07 -0400)]
donate
Kenneth Reitz [Sat, 28 Jul 2012 20:56:49 +0000 (16:56 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 28 Jul 2012 20:56:14 +0000 (16:56 -0400)]
setup.py
Kenneth Reitz [Sat, 28 Jul 2012 20:56:00 +0000 (16:56 -0400)]
gittip
Paul [Fri, 27 Jul 2012 11:18:13 +0000 (19:18 +0800)]
Set content type before authentication
AWS S3 authentication adds content type header (when it exist) to
canonical string that is signed. Since it is set after authentication
is done authentication on S3 fails
Cory Benfield [Fri, 27 Jul 2012 08:26:04 +0000 (09:26 +0100)]
Failing test for Issue #737.
Kenneth Reitz [Fri, 27 Jul 2012 07:23:33 +0000 (03:23 -0400)]
v0.13.5
Kenneth Reitz [Fri, 27 Jul 2012 06:21:56 +0000 (02:21 -0400)]
v0.13.4
Kenneth Reitz [Fri, 27 Jul 2012 06:18:31 +0000 (02:18 -0400)]
disable tricky tests
Kenneth Reitz [Fri, 27 Jul 2012 05:48:25 +0000 (01:48 -0400)]
Solves #722
Kenneth Reitz [Fri, 27 Jul 2012 05:40:09 +0000 (01:40 -0400)]
changes
Kenneth Reitz [Fri, 27 Jul 2012 05:39:21 +0000 (01:39 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 27 Jul 2012 05:39:17 +0000 (01:39 -0400)]
ordered dict
Kenneth Reitz [Fri, 27 Jul 2012 05:36:41 +0000 (22:36 -0700)]
Merge pull request #647 from mkomitee/kerberos
Implement GSSAPI/Kerberos authentication for requests
Kenneth Reitz [Fri, 27 Jul 2012 05:33:51 +0000 (22:33 -0700)]
Merge pull request #729 from vickimo/issue_661
Added needed cast for when POSTing data and files (Issue #661)
Kenneth Reitz [Fri, 27 Jul 2012 05:32:01 +0000 (01:32 -0400)]
urllib update and junks
Kenneth Reitz [Fri, 27 Jul 2012 05:29:58 +0000 (22:29 -0700)]
Merge pull request #736 from Lukasa/develop
Make OAuth path hack platform independent.
Kenneth Reitz [Fri, 27 Jul 2012 05:29:17 +0000 (22:29 -0700)]
Merge pull request #739 from saevarom/develop
Appengine workaround
Sævar Öfjörð Magnússon [Wed, 25 Jul 2012 16:06:26 +0000 (16:06 +0000)]
Appengine workaround
Cory Benfield [Wed, 25 Jul 2012 12:24:38 +0000 (13:24 +0100)]
Comment typo fix and move newline.
Kenneth Reitz [Tue, 24 Jul 2012 13:46:34 +0000 (06:46 -0700)]
Merge pull request #734 from doismellburning/verbose_http_errors
Include response.reason in raised HTTPErrors
Cory Benfield [Sat, 21 Jul 2012 17:11:00 +0000 (18:11 +0100)]
Make OAuth path hack platform independent.
Kristian Glass [Fri, 20 Jul 2012 18:26:08 +0000 (19:26 +0100)]
Include reason rather than content in raised HTTPErrors
See https://github.com/kennethreitz/requests/pull/733 for details, TL;DR
content is too free-form for this to generally be a good idea.
Kristian Glass [Fri, 20 Jul 2012 17:50:04 +0000 (18:50 +0100)]
Include response.content in raised HTTPErrors
Kenneth Reitz [Wed, 18 Jul 2012 14:44:37 +0000 (07:44 -0700)]
Merge pull request #731 from jorjun/patch-1
breaks under python 2.7, without the from __future__ import
jorjun [Wed, 18 Jul 2012 10:58:55 +0000 (12:58 +0200)]
breaks under python 2.7, without the from __future__ import
Kenneth Reitz [Sat, 14 Jul 2012 22:48:07 +0000 (15:48 -0700)]
Merge pull request #727 from vickimo/issue_547
Fix infinite loop on wrong Digest Authentication (Issue #541 and #547)
Victoria Mo [Sat, 14 Jul 2012 22:26:38 +0000 (18:26 -0400)]
Added needed cast for when POSTing data and files (Issue #661)
Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com>
Victoria Mo [Sat, 14 Jul 2012 20:09:13 +0000 (16:09 -0400)]
Fix infinite loop on wrong Digest Authentication (Issue #547)
Modified code to use the current fix versus the old fix, which was broken.
Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com>
Kenneth Reitz [Fri, 13 Jul 2012 20:49:12 +0000 (13:49 -0700)]
Merge pull request #725 from muhtasib/Timeout_Fix
Differentiate between two types of timeout errors from urllib3
Leila Muhtasib [Fri, 13 Jul 2012 19:20:05 +0000 (15:20 -0400)]
Differentiate between two types of timeout errors from urllib3
Bubble up error message from urllib3 to indicate to user
whether error was a socket timeout vs a no connections
available in connection pool error.
Co-Authored By: Sarah Gonzalez
Kenneth Reitz [Thu, 12 Jul 2012 21:13:36 +0000 (14:13 -0700)]
Merge pull request #721 from karlcow/develop
adding clarification to the history API.
karl [Thu, 12 Jul 2012 20:34:28 +0000 (16:34 -0400)]
adding clarification to the history API. It was not clear how the history list was sorted.
Kenneth Reitz [Thu, 12 Jul 2012 20:18:35 +0000 (13:18 -0700)]
makin' history
Kenneth Reitz [Thu, 12 Jul 2012 20:12:54 +0000 (13:12 -0700)]
v0.13.3
Kenneth Reitz [Thu, 12 Jul 2012 19:06:43 +0000 (12:06 -0700)]
Merge branch 'develop' of git://github.com/siebenschlaefer/requests into develop
Conflicts:
AUTHORS.rst
Kenneth Reitz [Thu, 12 Jul 2012 07:28:59 +0000 (00:28 -0700)]
Merge pull request #717 from ms4py/patch-2
Updated documentation
Marc Schlaich [Thu, 12 Jul 2012 07:22:12 +0000 (10:22 +0300)]
This shouldn't be here anymore.
Kenneth Reitz [Thu, 12 Jul 2012 07:09:21 +0000 (00:09 -0700)]
Merge pull request #715 from Lukasa/develop
Do not hide SSLErrors behind Timeouts.
Cory Benfield [Wed, 11 Jul 2012 16:31:59 +0000 (17:31 +0100)]
Do not hide SSLErrors behind Timeouts.
Kenneth Reitz [Tue, 10 Jul 2012 22:48:07 +0000 (15:48 -0700)]
Merge pull request #714 from muhtasib/develop
Documentation Update
muhtasib [Tue, 10 Jul 2012 22:34:29 +0000 (19:34 -0300)]
Fix minor formatting issue.
Leila Muhtasib [Tue, 10 Jul 2012 22:25:32 +0000 (18:25 -0400)]
Updated documentation for SSL client cert usuage.
Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Victoria Mo <vm2355@columbia.edu>
Matthias Rahlf [Mon, 9 Jul 2012 23:06:02 +0000 (01:06 +0200)]
fixed param handling in Request.full_url
Kenneth Reitz [Sun, 8 Jul 2012 07:42:17 +0000 (00:42 -0700)]
Merge pull request #709 from dstufft/develop
Have User Agent include more details
Donald Stufft [Sun, 8 Jul 2012 04:47:24 +0000 (00:47 -0400)]
Move the user agent generation into it's own utility function
Donald Stufft [Sun, 8 Jul 2012 04:37:23 +0000 (00:37 -0400)]
Readd default that was accidently removed
Kenneth Reitz [Sun, 8 Jul 2012 04:27:26 +0000 (00:27 -0400)]
#710
Kenneth Reitz [Sun, 8 Jul 2012 04:24:24 +0000 (00:24 -0400)]
simplify #710
Kenneth Reitz [Sun, 8 Jul 2012 04:23:36 +0000 (00:23 -0400)]
merge conflict
Kenneth Reitz [Sun, 8 Jul 2012 04:21:54 +0000 (21:21 -0700)]
Merge pull request #710 from zachwill/develop
Add try/catch for simplejson vs json
Zach Williams [Sun, 8 Jul 2012 04:14:29 +0000 (21:14 -0700)]
Add try/catch for simplejson vs json
Donald Stufft [Sat, 7 Jul 2012 20:13:39 +0000 (16:13 -0400)]
Include the system name and version in the default user agent
Donald Stufft [Sat, 7 Jul 2012 20:07:19 +0000 (16:07 -0400)]
Include the implementation and implementation version number in the default User-Agent
Kenneth Reitz [Fri, 6 Jul 2012 06:54:12 +0000 (02:54 -0400)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Fri, 6 Jul 2012 06:54:08 +0000 (02:54 -0400)]
kippt
Kenneth Reitz [Mon, 2 Jul 2012 11:31:09 +0000 (04:31 -0700)]
Merge pull request #703 from westonplatter/develop
made the develop README.rest TravisCI PNG link to TravisCI project status page