services/python-requests.git
11 years agoMerge pull request #873 from legoktm/develop
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

11 years agoUse __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

11 years agoRevert "Fix SSL3 error on Ubuntu 12.04"
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.

11 years agochange default accept-encoding
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

11 years agoamazon
Kenneth Reitz [Sun, 23 Sep 2012 16:46:53 +0000 (11:46 -0500)]
amazon

11 years agoMerge pull request #863 from sigmavirus24/fix_hooks
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.

11 years ago1,000,000
Kenneth Reitz [Fri, 21 Sep 2012 22:50:38 +0000 (15:50 -0700)]
1,000,000

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 21 Sep 2012 22:22:18 +0000 (15:22 -0700)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agoepic
Kenneth Reitz [Fri, 21 Sep 2012 22:22:12 +0000 (15:22 -0700)]
epic

11 years agoFix #785 & add regression test.
Ian Cordasco [Thu, 20 Sep 2012 15:43:00 +0000 (11:43 -0400)]
Fix #785 & add regression test.

11 years agoMerge pull request #853 from plaes/docs-license-missing-ref
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

11 years agoCreate 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

11 years agoMerge pull request #852 from plaes/docs-include-license
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.

11 years agoUse 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/

11 years agoMerge pull request #848 from barberj/develop
Kenneth Reitz [Wed, 12 Sep 2012 17:58:20 +0000 (10:58 -0700)]
Merge pull request #848 from barberj/develop

None is not iterable

11 years agoMerge pull request #850 from SecurityForUs/fix_proxies_2.7-3
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

11 years agoFix for v3 in deleting empty proxies.
Eric Hansen [Wed, 12 Sep 2012 17:49:34 +0000 (13:49 -0400)]
Fix for v3 in deleting empty proxies.

11 years agoFixed issue with empty proxies being passed
Eric Hansen [Tue, 11 Sep 2012 19:40:16 +0000 (15:40 -0400)]
Fixed issue with empty proxies being passed

11 years agoNone is not iterable
barberj [Fri, 7 Sep 2012 01:17:55 +0000 (21:17 -0400)]
None is not iterable

11 years agoMerge pull request #841 from sigmavirus24/bytecode
Kenneth Reitz [Tue, 11 Sep 2012 03:15:41 +0000 (20:15 -0700)]
Merge pull request #841 from sigmavirus24/bytecode

Reset PYTHONDONTWRITEBYTECODE after installation

11 years agoAs per the discussion on #841.
Ian Cordasco [Tue, 11 Sep 2012 03:09:41 +0000 (23:09 -0400)]
As per the discussion on #841.

11 years agoReset PYTHONDONTWRITEBYTECODE after installation
Ian Cordasco [Thu, 6 Sep 2012 14:22:40 +0000 (10:22 -0400)]
Reset PYTHONDONTWRITEBYTECODE after installation

Fixes #839.

11 years agoMerge pull request #820 from dergraf/develop
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

11 years agoMerge pull request #833 from sigmavirus24/fix_key_val_args
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.

11 years agoMerge pull request #845 from alanhamlett/patch-1
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

11 years agofixed typo in docs
Alan Hamlett [Sun, 9 Sep 2012 08:56:32 +0000 (01:56 -0700)]
fixed typo in docs

11 years agoMerge pull request #842 from slingamn/test_tweak
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

11 years agoMerge pull request #840 from gareth-lloyd/develop
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

11 years agofix some tests to correctly cover the API
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.

11 years agoadd prefetch=False to streaming example
Gareth Lloyd [Thu, 6 Sep 2012 14:13:46 +0000 (15:13 +0100)]
add prefetch=False to streaming example

11 years agoFixes #817.
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.

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 2 Sep 2012 08:50:30 +0000 (04:50 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agov0.14.0 v0.14.0
Kenneth Reitz [Sun, 2 Sep 2012 08:50:05 +0000 (04:50 -0400)]
v0.14.0

11 years agoMerge pull request #831 from slingamn/permissive_itercontent_2
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

11 years agopermissive 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)

11 years agoMerge pull request #826 from hazzadous/develop
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

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 31 Aug 2012 06:06:21 +0000 (02:06 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agooops
Kenneth Reitz [Fri, 31 Aug 2012 06:06:15 +0000 (02:06 -0400)]
oops

11 years agoUpdated content workflow section of the advanced use docs
Harry Waye [Thu, 30 Aug 2012 17:14:37 +0000 (18:14 +0100)]
Updated content workflow section of the advanced use docs

11 years agoadded myself
Andre Graf [Wed, 29 Aug 2012 19:20:27 +0000 (21:20 +0200)]
added myself

11 years agodata encoding must be done after calling an auth provider which might change the...
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)

11 years agoMerge pull request #819 from ayanamist/develop
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.

11 years agoChange variable name "_cond" -> "_oauth_signed".
ayanamist [Tue, 28 Aug 2012 07:38:13 +0000 (15:38 +0800)]
Change variable name "_cond" -> "_oauth_signed".

11 years agoTry to keep the header too if content-type is application/x-www-form-urlencoded
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

11 years agoFix the comment too.
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.

11 years agoMerge pull request #818 from r1chardj0n3s/develop
Kenneth Reitz [Tue, 28 Aug 2012 05:38:46 +0000 (22:38 -0700)]
Merge pull request #818 from r1chardj0n3s/develop

improve top-level docstring

11 years agoCorrect OAuth1 with query or data.
ayanamist [Tue, 28 Aug 2012 04:51:01 +0000 (12:51 +0800)]
Correct OAuth1 with query or data.

11 years agoimprove top-level docstring
Richard Jones [Mon, 27 Aug 2012 23:36:00 +0000 (09:36 +1000)]
improve top-level docstring

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 26 Aug 2012 22:34:16 +0000 (18:34 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agotypo
Kenneth Reitz [Sun, 26 Aug 2012 22:34:09 +0000 (18:34 -0400)]
typo

11 years agoMerge pull request #814 from asapo/develop
Kenneth Reitz [Sun, 26 Aug 2012 16:47:09 +0000 (09:47 -0700)]
Merge pull request #814 from asapo/develop

import cchardet if available

11 years agoMerge pull request #815 from ayanamist/develop
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.

11 years agoUse 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.

11 years agoimport cchardet if available
asapo [Sun, 26 Aug 2012 16:30:04 +0000 (01:30 +0900)]
import cchardet if available

11 years agono .
Kenneth Reitz [Sat, 25 Aug 2012 15:46:41 +0000 (11:46 -0400)]
no .

11 years agoRemove exception eating from dispatch_hook. v0.13.9
Kenneth Reitz [Sat, 25 Aug 2012 15:07:13 +0000 (11:07 -0400)]
Remove exception eating from dispatch_hook.

11 years agoMerge pull request #811 from lucian1900/develop
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.

11 years agov0.13.9
Kenneth Reitz [Sat, 25 Aug 2012 14:49:16 +0000 (10:49 -0400)]
v0.13.9

11 years agoCleanup #800
Kenneth Reitz [Sat, 25 Aug 2012 14:44:53 +0000 (10:44 -0400)]
Cleanup #800

11 years agoMerge pull request #800 from ayanamist/develop
Kenneth Reitz [Sat, 25 Aug 2012 14:41:15 +0000 (07:41 -0700)]
Merge pull request #800 from ayanamist/develop

Fix kennethreitz/requests#790

11 years agoMerge pull request #805 from Lukasa/develop
Kenneth Reitz [Sat, 25 Aug 2012 14:35:06 +0000 (07:35 -0700)]
Merge pull request #805 from Lukasa/develop

Remove None values from post data.

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 25 Aug 2012 14:33:42 +0000 (10:33 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agoMerge branch 'develop' of git://github.com/weak/requests into develop
Kenneth Reitz [Sat, 25 Aug 2012 14:33:37 +0000 (10:33 -0400)]
Merge branch 'develop' of git://github.com/weak/requests into develop

11 years agoMerge pull request #806 from rhyselsmore/develop
Kenneth Reitz [Sat, 25 Aug 2012 04:48:30 +0000 (21:48 -0700)]
Merge pull request #806 from rhyselsmore/develop

General Housekeeping

11 years agoNot sure if meant to be pluralized
Rhys Elsmore [Thu, 23 Aug 2012 06:38:28 +0000 (16:38 +1000)]
Not sure if meant to be pluralized

11 years agoRemoved Duplicate Import
Rhys Elsmore [Thu, 23 Aug 2012 06:18:47 +0000 (16:18 +1000)]
Removed Duplicate Import

11 years agoDo not post None values in data.
Cory Benfield [Wed, 22 Aug 2012 21:27:27 +0000 (22:27 +0100)]
Do not post None values in data.

11 years agoAdd a failing test for Issue #378.
Cory Benfield [Wed, 22 Aug 2012 20:37:19 +0000 (21:37 +0100)]
Add a failing test for Issue #378.

11 years agoFix for #804 - Session params ommited in 0.13.8. If default_kwarg is a list, attempt...
Andrew Tolbert [Wed, 22 Aug 2012 14:49:40 +0000 (09:49 -0500)]
Fix for #804 - Session params ommited in 0.13.8.  If default_kwarg is a list, attempt to convert to dictionary

11 years agoMerge pull request #802 from Lukasa/develop
Kenneth Reitz [Mon, 20 Aug 2012 16:04:44 +0000 (09:04 -0700)]
Merge pull request #802 from Lukasa/develop

Tiny formatting changes in Advanced docs

11 years agoCleanup Advanced doc and remove `.:' from docs
Cory Benfield [Mon, 20 Aug 2012 15:58:43 +0000 (16:58 +0100)]
Cleanup Advanced doc and remove `.:' from docs

11 years agov0.13.8
Kenneth Reitz [Mon, 20 Aug 2012 15:15:50 +0000 (01:15 +1000)]
v0.13.8

11 years agono more multidict
Kenneth Reitz [Mon, 20 Aug 2012 15:10:55 +0000 (01:10 +1000)]
no more multidict

11 years agoFixes #711!
Kenneth Reitz [Mon, 20 Aug 2012 15:06:33 +0000 (01:06 +1000)]
Fixes #711!

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Mon, 20 Aug 2012 14:55:31 +0000 (00:55 +1000)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agoMerge pull request #801 from rhyselsmore/develop
Kenneth Reitz [Mon, 20 Aug 2012 14:54:48 +0000 (07:54 -0700)]
Merge pull request #801 from rhyselsmore/develop

Added in a link handler as per issue #711

11 years agoRhys
Kenneth Reitz [Mon, 20 Aug 2012 14:54:39 +0000 (00:54 +1000)]
Rhys

11 years agolink docs!
Kenneth Reitz [Mon, 20 Aug 2012 14:52:09 +0000 (00:52 +1000)]
link docs!

11 years agoAdded in a link handler as per issue #711
Rhys Elsmore [Mon, 20 Aug 2012 14:47:19 +0000 (00:47 +1000)]
Added in a link handler as per issue #711

11 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Mon, 20 Aug 2012 14:43:27 +0000 (00:43 +1000)]
Merge remote-tracking branch 'origin/develop' into develop

11 years agoMultiDict
Kenneth Reitz [Mon, 20 Aug 2012 14:43:16 +0000 (00:43 +1000)]
MultiDict

11 years agolink headers
Kenneth Reitz [Mon, 20 Aug 2012 14:43:05 +0000 (00:43 +1000)]
link headers

11 years agoFix kennethreitz/requests#790
ayanamist [Mon, 20 Aug 2012 09:18:26 +0000 (17:18 +0800)]
Fix kennethreitz/requests#790

11 years agoMerge pull request #797 from sigmavirus24/fix_order
Kenneth Reitz [Mon, 20 Aug 2012 07:55:17 +0000 (00:55 -0700)]
Merge pull request #797 from sigmavirus24/fix_order

Fix order of data+params

11 years agoMerge pull request #799 from joequery/ubuntu_ssl_error
Kenneth Reitz [Mon, 20 Aug 2012 05:38:39 +0000 (22:38 -0700)]
Merge pull request #799 from joequery/ubuntu_ssl_error

Fix SSL3 error on Ubuntu 12.04

11 years agoFix SSL3 error on Ubuntu 12.04
Joseph McCullough [Mon, 20 Aug 2012 02:48:30 +0000 (21:48 -0500)]
Fix SSL3 error on Ubuntu 12.04

11 years agoFix a fairly critical error on my part.
Ian Cordasco [Sun, 19 Aug 2012 20:02:29 +0000 (16:02 -0400)]
Fix a fairly critical error on my part.

11 years agoChange ordering of data + params back.
Ian Cordasco [Sun, 19 Aug 2012 19:48:12 +0000 (15:48 -0400)]
Change ordering of data + params back.

Fixes #795

11 years agov0.13.7 v0.13.7
Kenneth Reitz [Sun, 19 Aug 2012 00:46:55 +0000 (10:46 +1000)]
v0.13.7

11 years agoMerge pull request #789 from zigmonty/http_digest_fixes
Kenneth Reitz [Sun, 19 Aug 2012 00:42:40 +0000 (17:42 -0700)]
Merge pull request #789 from zigmonty/http_digest_fixes

HTTPDigestAuth fixes

11 years agoMerge pull request #779 from Lukasa/develop
Kenneth Reitz [Sun, 19 Aug 2012 00:40:53 +0000 (17:40 -0700)]
Merge pull request #779 from Lukasa/develop

Make sure proxy exclusions work properly.

11 years agoMerge pull request #791 from sigmavirus24/key_val_lists
Kenneth Reitz [Sat, 18 Aug 2012 22:54:49 +0000 (15:54 -0700)]
Merge pull request #791 from sigmavirus24/key_val_lists

Key val lists

11 years agoRevert "Some pyflakes fixes."
Ian Cordasco [Sat, 18 Aug 2012 22:31:58 +0000 (18:31 -0400)]
Revert "Some pyflakes fixes."

This reverts commit c71f48b5f1d989644e26b9004c2af7a6f27d4708.

To please his BDFLness @kennethreitz ;)

11 years agoMerge pull request #793 from Lukasa/typo
Kenneth Reitz [Sat, 18 Aug 2012 21:32:48 +0000 (14:32 -0700)]
Merge pull request #793 from Lukasa/typo

Typo fix in tests.

11 years agoForgot to add myself to the AUTHORS.rst
Ian Cordasco [Sat, 18 Aug 2012 20:39:52 +0000 (16:39 -0400)]
Forgot to add myself to the AUTHORS.rst

[ci skip]

11 years agoTypo fix in tests.
Cory Benfield [Sat, 18 Aug 2012 20:24:02 +0000 (21:24 +0100)]
Typo fix in tests.

11 years agoFix python3 tests.
Ian Cordasco [Sat, 18 Aug 2012 18:41:13 +0000 (14:41 -0400)]
Fix python3 tests.

I wasn't thorough enough with how I dealt with headers. Most of the header
logic in the Request object utilizes dictionary properties which will not work
with a key/value list.

I'll dig more into this, but I know the rest of the features are more
important so I'll take my time on this and send a separate pull request.

11 years agoAll tests pass, time for a PR.
Ian Cordasco [Sat, 18 Aug 2012 17:47:14 +0000 (13:47 -0400)]
All tests pass, time for a PR.

11 years agoMerge branch 'develop' into key_val_lists
Ian Cordasco [Sat, 18 Aug 2012 16:15:03 +0000 (12:15 -0400)]
Merge branch 'develop' into key_val_lists

Conflicts:
requests/models.py
tests/test_requests.py

Remove some of Lukasa's duplication of my efforts in _encode_data.

11 years agoExtend digests test case to connect twice using the same auth and confirm the second...
Peter Montagner [Sat, 18 Aug 2012 05:33:05 +0000 (15:33 +1000)]
Extend digests test case to connect twice using the same auth and confirm the second one went direct.