Kenneth Reitz [Wed, 17 Oct 2012 14:20:55 +0000 (07:20 -0700)]
Merge pull request #887 from rvoicilas/develop
Small changes to make the code more PEP8 compliant
Kenneth Reitz [Wed, 17 Oct 2012 13:37:26 +0000 (06:37 -0700)]
Merge pull request #897 from ametaireau/fix-cheeseshop-mirror-url
Fix the cheeseshop mirror url from pip.kennethreitz to crate.io
Alexis Métaireau [Wed, 17 Oct 2012 13:28:09 +0000 (15:28 +0200)]
Fix the cheeseshop mirror url from pip.kennethreitz to crate.io, since the former doesn't work anymore.
Kenneth Reitz [Mon, 15 Oct 2012 19:55:51 +0000 (12:55 -0700)]
Merge pull request #892 from treyhunner/topic/whitespace-fixes
Fix multiple code style (whitespace) in docs/
Trey Hunner [Mon, 15 Oct 2012 18:17:09 +0000 (11:17 -0700)]
Fix multiple code style (whitespace) in docs/
Kenneth Reitz [Fri, 12 Oct 2012 23:46:46 +0000 (00:46 +0100)]
typo all the things
Kenneth Reitz [Fri, 12 Oct 2012 23:45:20 +0000 (00:45 +0100)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 12 Oct 2012 23:45:05 +0000 (00:45 +0100)]
oauth awesomeness
Radu Voicilas [Mon, 8 Oct 2012 21:41:42 +0000 (00:41 +0300)]
Making the code more PEP8 compliant
tokuda109 [Tue, 2 Oct 2012 14:26:10 +0000 (23:26 +0900)]
declare the encoding
Kenneth Reitz [Tue, 2 Oct 2012 05:02:32 +0000 (01:02 -0400)]
update
Kenneth Reitz [Tue, 2 Oct 2012 05:01:28 +0000 (01:01 -0400)]
wording
Kenneth Reitz [Tue, 2 Oct 2012 04:44:57 +0000 (00:44 -0400)]
padding
Kenneth Reitz [Tue, 2 Oct 2012 04:44:21 +0000 (00:44 -0400)]
order fix
Kenneth Reitz [Tue, 2 Oct 2012 04:43:21 +0000 (00:43 -0400)]
why not
Ian Cordasco [Mon, 1 Oct 2012 17:09:02 +0000 (13:09 -0400)]
Only register callable items in lists
Prior to this, you could sneak a list of anything to register_hook and it
would accept it. This will check if the items in the list are callable before
registering them. Also added a regression test to make sure if this gets
changed it will be noticed.
Kenneth Reitz [Mon, 1 Oct 2012 17:30:41 +0000 (13:30 -0400)]
new classifiers for 3.2+
Kenneth Reitz [Mon, 1 Oct 2012 17:29:38 +0000 (13:29 -0400)]
v0.14.1
yegle [Mon, 1 Oct 2012 17:13:12 +0000 (13:13 -0400)]
Update: @property decorator instead of __getattr__
Kunal Mehta [Mon, 1 Oct 2012 00:24:56 +0000 (19:24 -0500)]
Use __iter__ rather than the inefficient nested for loops
yegle [Sat, 29 Sep 2012 22:28:53 +0000 (18:28 -0400)]
Python 3.3 compatible update
httplib.cookiejar.DefaultCookiePolicy changed its implementation of
set_ok_verifiability.
Matt Sweeney [Wed, 26 Sep 2012 19:38:36 +0000 (12:38 -0700)]
Simplify error handling when decoding unicode
Matt Sweeney [Tue, 25 Sep 2012 22:35:30 +0000 (15:35 -0700)]
Handle encoding of `None` when decoding unicode
If encoding is None, decoding will throw the following TypeError:
TypeError: unicode() argument 2 must be string, not None
If this is the case, attempt to run without any set encoding
Kenneth Reitz [Tue, 2 Oct 2012 15:25:16 +0000 (08:25 -0700)]
Merge pull request #878 from tokuda109/encoding
miss the encoding declaration
tokuda109 [Tue, 2 Oct 2012 14:26:10 +0000 (23:26 +0900)]
declare the encoding
Kenneth Reitz [Tue, 2 Oct 2012 05:02:32 +0000 (01:02 -0400)]
update
Kenneth Reitz [Tue, 2 Oct 2012 05:01:28 +0000 (01:01 -0400)]
wording
Kenneth Reitz [Tue, 2 Oct 2012 04:44:57 +0000 (00:44 -0400)]
padding
Kenneth Reitz [Tue, 2 Oct 2012 04:44:21 +0000 (00:44 -0400)]
order fix
Kenneth Reitz [Tue, 2 Oct 2012 04:43:28 +0000 (00:43 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Tue, 2 Oct 2012 04:43:21 +0000 (00:43 -0400)]
why not
Kenneth Reitz [Mon, 1 Oct 2012 18:15:47 +0000 (11:15 -0700)]
Merge pull request #876 from sigmavirus24/register_hook_fix
Only register callable items in lists
Ian Cordasco [Mon, 1 Oct 2012 17:09:02 +0000 (13:09 -0400)]
Only register callable items in lists
Prior to this, you could sneak a list of anything to register_hook and it
would accept it. This will check if the items in the list are callable before
registering them. Also added a regression test to make sure if this gets
changed it will be noticed.
Kenneth Reitz [Mon, 1 Oct 2012 17:30:41 +0000 (13:30 -0400)]
new classifiers for 3.2+
Kenneth Reitz [Mon, 1 Oct 2012 17:29:38 +0000 (13:29 -0400)]
v0.14.1
Kenneth Reitz [Mon, 1 Oct 2012 17:26:58 +0000 (10:26 -0700)]
Merge pull request #871 from yegle/develop
Python 3.3 compatible update
yegle [Mon, 1 Oct 2012 17:13:12 +0000 (13:13 -0400)]
Update: @property decorator instead of __getattr__
Kenneth Reitz [Mon, 1 Oct 2012 16:53:56 +0000 (09:53 -0700)]
Merge pull request #867 from mattswe/patch-1
Handle encoding of `None` when decoding unicode
Kenneth Reitz [Mon, 1 Oct 2012 16:52:31 +0000 (09:52 -0700)]
Merge pull request #873 from legoktm/develop
Use __iter__ rather than the inefficient nested for loops
Kunal Mehta [Mon, 1 Oct 2012 00:24:56 +0000 (19:24 -0500)]
Use __iter__ rather than the inefficient nested for loops
yegle [Sat, 29 Sep 2012 22:28:53 +0000 (18:28 -0400)]
Python 3.3 compatible update
httplib.cookiejar.DefaultCookiePolicy changed its implementation of
set_ok_verifiability.
Matt Sweeney [Wed, 26 Sep 2012 19:38:36 +0000 (12:38 -0700)]
Simplify error handling when decoding unicode
Matt Sweeney [Tue, 25 Sep 2012 22:35:30 +0000 (15:35 -0700)]
Handle encoding of `None` when decoding unicode
If encoding is None, decoding will throw the following TypeError:
TypeError: unicode() argument 2 must be string, not None
If this is the case, attempt to run without any set encoding
Kenneth Reitz [Mon, 24 Sep 2012 16:05:53 +0000 (11:05 -0500)]
Revert "Fix SSL3 error on Ubuntu 12.04"
This reverts commit
c19650b00f0c169cdf6372a093425830e11a8771.
Kenneth Reitz [Sun, 23 Sep 2012 17:41:54 +0000 (12:41 -0500)]
change default accept-encoding
http://blogs.operationaldynamics.com/andrew/software/research/testing-re
stful-apis-with-httpie
Kenneth Reitz [Sun, 23 Sep 2012 16:46:53 +0000 (11:46 -0500)]
amazon
Kenneth Reitz [Sun, 23 Sep 2012 01:49:19 +0000 (18:49 -0700)]
Merge pull request #863 from sigmavirus24/fix_hooks
Fix #785 & add regression test.
Kenneth Reitz [Fri, 21 Sep 2012 22:50:38 +0000 (15:50 -0700)]
1,000,000
Kenneth Reitz [Fri, 21 Sep 2012 22:22:18 +0000 (15:22 -0700)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 21 Sep 2012 22:22:12 +0000 (15:22 -0700)]
epic
Ian Cordasco [Thu, 20 Sep 2012 15:43:00 +0000 (11:43 -0400)]
Fix #785 & add regression test.
Kenneth Reitz [Thu, 13 Sep 2012 06:36:36 +0000 (23:36 -0700)]
Merge pull request #853 from plaes/docs-license-missing-ref
Create label for the ISC License, which is referenced from the index page
Priit Laes [Thu, 13 Sep 2012 06:21:32 +0000 (09:21 +0300)]
Create label for the ISC License, which is referenced from the index page
Kenneth Reitz [Thu, 13 Sep 2012 06:10:11 +0000 (23:10 -0700)]
Merge pull request #852 from plaes/docs-include-license
Use the include directive instead of rewriting the license in docs.
Priit Laes [Thu, 13 Sep 2012 06:03:38 +0000 (09:03 +0300)]
Use the include directive instead of rewriting the license in docs.
Helps also keeping the copyright years in sync \o/
Kenneth Reitz [Wed, 12 Sep 2012 17:58:20 +0000 (10:58 -0700)]
Merge pull request #848 from barberj/develop
None is not iterable
Kenneth Reitz [Wed, 12 Sep 2012 17:58:03 +0000 (10:58 -0700)]
Merge pull request #850 from SecurityForUs/fix_proxies_2.7-3
Resolve issue in #849
Eric Hansen [Wed, 12 Sep 2012 17:49:34 +0000 (13:49 -0400)]
Fix for v3 in deleting empty proxies.
Eric Hansen [Tue, 11 Sep 2012 19:40:16 +0000 (15:40 -0400)]
Fixed issue with empty proxies being passed
barberj [Fri, 7 Sep 2012 01:17:55 +0000 (21:17 -0400)]
None is not iterable
Kenneth Reitz [Tue, 11 Sep 2012 03:15:41 +0000 (20:15 -0700)]
Merge pull request #841 from sigmavirus24/bytecode
Reset PYTHONDONTWRITEBYTECODE after installation
Ian Cordasco [Tue, 11 Sep 2012 03:09:41 +0000 (23:09 -0400)]
As per the discussion on #841.
Ian Cordasco [Thu, 6 Sep 2012 14:22:40 +0000 (10:22 -0400)]
Reset PYTHONDONTWRITEBYTECODE after installation
Fixes #839.
Kenneth Reitz [Tue, 11 Sep 2012 03:06:52 +0000 (20:06 -0700)]
Merge pull request #820 from dergraf/develop
Data encoding should take place after calling into auth provider
Kenneth Reitz [Tue, 11 Sep 2012 03:05:07 +0000 (20:05 -0700)]
Merge pull request #833 from sigmavirus24/fix_key_val_args
Fixes #817.
Kenneth Reitz [Sun, 9 Sep 2012 09:29:37 +0000 (02:29 -0700)]
Merge pull request #845 from alanhamlett/patch-1
fixed typo in docs
Alan Hamlett [Sun, 9 Sep 2012 08:56:32 +0000 (01:56 -0700)]
fixed typo in docs
Kenneth Reitz [Fri, 7 Sep 2012 07:10:21 +0000 (00:10 -0700)]
Merge pull request #842 from slingamn/test_tweak
fix some tests to correctly cover the API
Kenneth Reitz [Fri, 7 Sep 2012 07:06:51 +0000 (00:06 -0700)]
Merge pull request #840 from gareth-lloyd/develop
add prefetch=False to streaming example
Shivaram Lingamneni [Thu, 6 Sep 2012 23:31:01 +0000 (16:31 -0700)]
fix some tests to correctly cover the API
After #831, the tests added in #764 (which relied on iter_content()
crashing if the response was prefetched) no longer tested what they
were intended to test.
Gareth Lloyd [Thu, 6 Sep 2012 14:13:46 +0000 (15:13 +0100)]
add prefetch=False to streaming example
Ian Cordasco [Mon, 3 Sep 2012 03:09:43 +0000 (23:09 -0400)]
Fixes #817.
Use dicts and lists where necessary but accept both dicts and lists of
2-tuples everywhere.
Kenneth Reitz [Sun, 2 Sep 2012 08:50:30 +0000 (04:50 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 2 Sep 2012 08:50:05 +0000 (04:50 -0400)]
v0.14.0
Kenneth Reitz [Sun, 2 Sep 2012 08:47:19 +0000 (01:47 -0700)]
Merge pull request #831 from slingamn/permissive_itercontent_2
permissive implementation of iter_content
Shivaram Lingamneni [Thu, 16 Aug 2012 07:09:27 +0000 (00:09 -0700)]
permissive implementation of iter_content
This allows iter_content and iter_lines to succeed without
crashing even after the response content has been fetched
(iter_content gives you an iterator over the prefetched
content)
Kenneth Reitz [Fri, 31 Aug 2012 23:49:47 +0000 (16:49 -0700)]
Merge pull request #826 from hazzadous/develop
Updated content workflow section of the advanced user docs
Kenneth Reitz [Fri, 31 Aug 2012 06:06:21 +0000 (02:06 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 31 Aug 2012 06:06:15 +0000 (02:06 -0400)]
oops
Harry Waye [Thu, 30 Aug 2012 17:14:37 +0000 (18:14 +0100)]
Updated content workflow section of the advanced use docs
Andre Graf [Wed, 29 Aug 2012 19:20:27 +0000 (21:20 +0200)]
added myself
Andre Graf [Wed, 29 Aug 2012 19:20:11 +0000 (21:20 +0200)]
data encoding must be done after calling an auth provider which might change the data (as auth.OAuth1 does)
Kenneth Reitz [Wed, 29 Aug 2012 11:29:41 +0000 (04:29 -0700)]
Merge pull request #819 from ayanamist/develop
Correct OAuth1 with query or data.
ayanamist [Tue, 28 Aug 2012 07:38:13 +0000 (15:38 +0800)]
Change variable name "_cond" -> "_oauth_signed".
ayanamist [Tue, 28 Aug 2012 07:24:09 +0000 (15:24 +0800)]
Try to keep the header too if content-type is application/x-www-form-urlencoded
ayanamist [Tue, 28 Aug 2012 07:20:53 +0000 (15:20 +0800)]
Fix the comment too.
If content-type is multipart/form-data, keep the header.
Kenneth Reitz [Tue, 28 Aug 2012 05:38:46 +0000 (22:38 -0700)]
Merge pull request #818 from r1chardj0n3s/develop
improve top-level docstring
ayanamist [Tue, 28 Aug 2012 04:51:01 +0000 (12:51 +0800)]
Correct OAuth1 with query or data.
Richard Jones [Mon, 27 Aug 2012 23:36:00 +0000 (09:36 +1000)]
improve top-level docstring
Kenneth Reitz [Sun, 26 Aug 2012 22:34:16 +0000 (18:34 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 26 Aug 2012 22:34:09 +0000 (18:34 -0400)]
typo
Kenneth Reitz [Sun, 26 Aug 2012 16:47:09 +0000 (09:47 -0700)]
Merge pull request #814 from asapo/develop
import cchardet if available
Kenneth Reitz [Sun, 26 Aug 2012 16:46:18 +0000 (09:46 -0700)]
Merge pull request #815 from ayanamist/develop
Use logger instead of direct logging call.
ayanamist [Sun, 26 Aug 2012 16:43:39 +0000 (00:43 +0800)]
Use logger instead of direct logging call.
asapo [Sun, 26 Aug 2012 16:30:04 +0000 (01:30 +0900)]
import cchardet if available
Kenneth Reitz [Sat, 25 Aug 2012 15:46:41 +0000 (11:46 -0400)]
no .
Kenneth Reitz [Sat, 25 Aug 2012 15:07:13 +0000 (11:07 -0400)]
Remove exception eating from dispatch_hook.
Kenneth Reitz [Sat, 25 Aug 2012 15:06:56 +0000 (08:06 -0700)]
Merge pull request #811 from lucian1900/develop
Remove exception eating from dispatch_hook.
Kenneth Reitz [Sat, 25 Aug 2012 14:49:16 +0000 (10:49 -0400)]
v0.13.9
Kenneth Reitz [Sat, 25 Aug 2012 14:44:53 +0000 (10:44 -0400)]
Cleanup #800