services/python-requests.git
11 years agoRemove default Content-Length from GET requests.
Johnny Goodnow [Fri, 25 Jan 2013 05:10:12 +0000 (21:10 -0800)]
Remove default Content-Length from GET requests.

Fix #1051.

11 years agoMerge pull request #1099 from sprt/master
Kenneth Reitz [Thu, 24 Jan 2013 18:00:24 +0000 (10:00 -0800)]
Merge pull request #1099 from sprt/master

Make hooks work with prepared requests

11 years agoMerge branch 'master' of git://github.com/kennethreitz/requests
sprt [Thu, 24 Jan 2013 17:36:53 +0000 (18:36 +0100)]
Merge branch 'master' of git://github.com/kennethreitz/requests

Conflicts:
test_requests.py

11 years agoMerge pull request #1137 from whit537/unperson_test
Kenneth Reitz [Thu, 24 Jan 2013 01:37:13 +0000 (17:37 -0800)]
Merge pull request #1137 from whit537/unperson_test

Remove a test per @kennethreitz in IRC

11 years agoMerge pull request #1136 from steveklabnik/test_link_header
Kenneth Reitz [Thu, 24 Jan 2013 01:34:55 +0000 (17:34 -0800)]
Merge pull request #1136 from steveklabnik/test_link_header

introduce a test for link headers.

11 years agoRemove a test per @kennethreitz in IRC
Chad Whitacre [Thu, 24 Jan 2013 01:32:03 +0000 (20:32 -0500)]
Remove a test per @kennethreitz in IRC

The test suite is moving from the httpbin pattern (which hits the
network) to depending on the request.prepare method (which doesn't).
Here's a start ...

11 years agointroduce a test for link headers.
Steve Klabnik [Thu, 24 Jan 2013 01:31:05 +0000 (20:31 -0500)]
introduce a test for link headers.

11 years agoMerge pull request #1134 from steveklabnik/remove_silly_assert
Kenneth Reitz [Thu, 24 Jan 2013 01:06:40 +0000 (17:06 -0800)]
Merge pull request #1134 from steveklabnik/remove_silly_assert

remove silly assert

11 years agoremove silly assert
Steve Klabnik [Thu, 24 Jan 2013 01:03:43 +0000 (20:03 -0500)]
remove silly assert

11 years agoMerge pull request #1132 from sburns/jsonkwargs
Kenneth Reitz [Wed, 23 Jan 2013 22:02:37 +0000 (14:02 -0800)]
Merge pull request #1132 from sburns/jsonkwargs

Pass kwargs to json.loads

11 years agoPass kwargs to json.loads
Scott Burns [Wed, 23 Jan 2013 21:25:48 +0000 (15:25 -0600)]
Pass kwargs to json.loads

Not all JSON is created equally. This commit
addresses when users want to take control of the
json decode process.

11 years agoOnly call the hook once.
Ian Cordasco [Wed, 23 Jan 2013 16:51:37 +0000 (11:51 -0500)]
Only call the hook once.

11 years agoComment & replace something that keeps disappearing
Ian Cordasco [Wed, 23 Jan 2013 16:28:30 +0000 (11:28 -0500)]
Comment & replace something that keeps disappearing

11 years agoRefactor prepare_hooks()
sprt [Wed, 23 Jan 2013 14:45:44 +0000 (15:45 +0100)]
Refactor prepare_hooks()

11 years agoAdd missing import
sprt [Wed, 23 Jan 2013 14:45:14 +0000 (15:45 +0100)]
Add missing import

11 years agoMerge remote-tracking branch 'upstream/master'
sprt [Wed, 23 Jan 2013 13:42:45 +0000 (14:42 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
requests/sessions.py

11 years agoMerge pull request #1125 from juanriaza/master
Kenneth Reitz [Wed, 23 Jan 2013 03:43:50 +0000 (19:43 -0800)]
Merge pull request #1125 from juanriaza/master

HTTPDigestAuth: missing algorithm field

11 years agoMerge pull request #1116 from Lukasa/master
Kenneth Reitz [Wed, 23 Jan 2013 02:51:17 +0000 (18:51 -0800)]
Merge pull request #1116 from Lukasa/master

Correct type of Content-Length headers.

11 years agoMerge pull request #1117 from sigmavirus24/issue1106
Kenneth Reitz [Wed, 23 Jan 2013 02:48:31 +0000 (18:48 -0800)]
Merge pull request #1117 from sigmavirus24/issue1106

Fix #1106

11 years agoMerge pull request #1127 from sigmavirus24/fix1126
Kenneth Reitz [Wed, 23 Jan 2013 01:53:16 +0000 (17:53 -0800)]
Merge pull request #1127 from sigmavirus24/fix1126

A simple fix

11 years agoMerge pull request #1128 from mvid/master
Kenneth Reitz [Wed, 23 Jan 2013 01:45:00 +0000 (17:45 -0800)]
Merge pull request #1128 from mvid/master

Updating urllib3 to current master

11 years agoupdate urllib3 to current master with ssl bugfixes
Mantas Vidutis [Tue, 22 Jan 2013 22:40:10 +0000 (14:40 -0800)]
update urllib3 to current master with ssl bugfixes

11 years agoTests pass this time.
Ian Cordasco [Tue, 22 Jan 2013 22:21:34 +0000 (17:21 -0500)]
Tests pass this time.

11 years agomissing algorithm field
Juan Riaza [Tue, 22 Jan 2013 15:35:16 +0000 (16:35 +0100)]
missing algorithm field

11 years agoMerge pull request #1121 from Lukasa/typo
Kenneth Reitz [Tue, 22 Jan 2013 14:40:24 +0000 (06:40 -0800)]
Merge pull request #1121 from Lukasa/typo

Small typo fixes.

11 years agoMerge pull request #1097 from matthewlmcclure/issues/1096
Kenneth Reitz [Tue, 22 Jan 2013 13:11:14 +0000 (05:11 -0800)]
Merge pull request #1097 from matthewlmcclure/issues/1096

Resolves the parts of #1096 in requests proper.

11 years agoMerge pull request #1095 from Jud/patch-1
Kenneth Reitz [Tue, 22 Jan 2013 13:10:19 +0000 (05:10 -0800)]
Merge pull request #1095 from Jud/patch-1

Fix spacing in setup.py

11 years agoMerge pull request #1122 from Lukasa/readline
Kenneth Reitz [Tue, 22 Jan 2013 13:09:11 +0000 (05:09 -0800)]
Merge pull request #1122 from Lukasa/readline

Decrease default line length for iter_lines

11 years agoFix failing tests.
Ian Cordasco [Tue, 22 Jan 2013 01:21:08 +0000 (20:21 -0500)]
Fix failing tests.

11 years agoDecrease default line length for iter_lines
Cory Benfield [Mon, 21 Jan 2013 21:15:04 +0000 (21:15 +0000)]
Decrease default line length for iter_lines

11 years agoSmall typo fixes.
Cory Benfield [Mon, 21 Jan 2013 19:55:08 +0000 (19:55 +0000)]
Small typo fixes.

11 years agoMerge pull request #1120 from spulec/patch-2
Kenneth Reitz [Mon, 21 Jan 2013 19:27:41 +0000 (11:27 -0800)]
Merge pull request #1120 from spulec/patch-2

Add py3.3 testing back

11 years agoAdd py3.3 testing back
Steve Pulec [Mon, 21 Jan 2013 19:19:29 +0000 (14:19 -0500)]
Add py3.3 testing back

11 years agoRemove test that cannot work on Python3.
Cory Benfield [Sat, 19 Jan 2013 17:14:32 +0000 (17:14 +0000)]
Remove test that cannot work on Python3.

11 years agoFix #1106
Ian Cordasco [Sat, 19 Jan 2013 16:49:52 +0000 (11:49 -0500)]
Fix #1106

11 years agoEnsure Content-Length is a string.
Cory Benfield [Sat, 19 Jan 2013 12:07:34 +0000 (12:07 +0000)]
Ensure Content-Length is a string.

11 years agoMerge pull request #1114 from vlaci/master
Kenneth Reitz [Fri, 18 Jan 2013 13:40:26 +0000 (05:40 -0800)]
Merge pull request #1114 from vlaci/master

Keep-alive support for http proxies

11 years agoFixed proxy requests to pool connections.
László Vaskó [Fri, 18 Jan 2013 12:41:14 +0000 (13:41 +0100)]
Fixed proxy requests to pool connections.

11 years agoMerge pull request #1110 from slingamn/certifi_eol
Kenneth Reitz [Fri, 18 Jan 2013 12:39:41 +0000 (04:39 -0800)]
Merge pull request #1110 from slingamn/certifi_eol

Remove support for certifi

11 years agoRemove support for certifi
Shivaram Lingamneni [Fri, 18 Jan 2013 04:40:28 +0000 (20:40 -0800)]
Remove support for certifi

As per #1105, certifi is being end-of-lifed. Requests will use either
its own vendored bundle, or possibly (when packaged with OS distributions)
an externally packaged bundle, which can be enabled by patching
requests.certs.where().

11 years agoMerge pull request #1107 from Lukasa/master
Kenneth Reitz [Fri, 18 Jan 2013 03:50:55 +0000 (19:50 -0800)]
Merge pull request #1107 from Lukasa/master

Correct broken cookies example

11 years agoUpdate docs with correct cookie behaviour.
Cory Benfield [Thu, 17 Jan 2013 19:28:28 +0000 (19:28 +0000)]
Update docs with correct cookie behaviour.

11 years agoMerge pull request #1105 from slingamn/turktrust
Kenneth Reitz [Thu, 17 Jan 2013 10:51:52 +0000 (02:51 -0800)]
Merge pull request #1105 from slingamn/turktrust

refresh CA certificates

11 years agoremove the TURKTRUST root certificates, as per #1102
Shivaram Lingamneni [Thu, 17 Jan 2013 10:02:49 +0000 (02:02 -0800)]
remove the TURKTRUST root certificates, as per #1102

11 years agoMake hooks work with prepared requests
sprt [Sat, 12 Jan 2013 20:46:44 +0000 (21:46 +0100)]
Make hooks work with prepared requests

11 years agoResolves the parts of #1096 in requests proper.
Matt McClure [Fri, 11 Jan 2013 20:04:47 +0000 (15:04 -0500)]
Resolves the parts of #1096 in requests proper.

11 years agoFix spacing in setup.py
Jud [Fri, 11 Jan 2013 16:42:02 +0000 (11:42 -0500)]
Fix spacing in setup.py

11 years ago+1
Kenneth Reitz [Fri, 11 Jan 2013 14:34:14 +0000 (09:34 -0500)]
+1

11 years agoMerge remote-tracking branch 'origin/master' v1.1.0
Kenneth Reitz [Thu, 10 Jan 2013 07:13:06 +0000 (02:13 -0500)]
Merge remote-tracking branch 'origin/master'

11 years agov1.1.0 and docs
Kenneth Reitz [Thu, 10 Jan 2013 07:13:02 +0000 (02:13 -0500)]
v1.1.0 and docs

11 years agoMerge pull request #1092 from jianlius/case-insensitive-update
Kenneth Reitz [Thu, 10 Jan 2013 07:07:45 +0000 (23:07 -0800)]
Merge pull request #1092 from jianlius/case-insensitive-update

Make merge_kwargs case-insensitive when looking up keys.

11 years agoMerge pull request #1091 from vinodc/specify_file_content_type
Kenneth Reitz [Thu, 10 Jan 2013 07:02:47 +0000 (23:02 -0800)]
Merge pull request #1091 from vinodc/specify_file_content_type

Allow for explicit file content type support

11 years agodon't supply params for directs
Kenneth Reitz [Thu, 10 Jan 2013 06:58:46 +0000 (01:58 -0500)]
don't supply params for directs

Closes #1070

11 years agoCHUNKED REQUESTS!
Kenneth Reitz [Thu, 10 Jan 2013 06:58:29 +0000 (01:58 -0500)]
CHUNKED REQUESTS!

11 years agoRetrieve kwargs.keys() just once.
Jian Li [Thu, 10 Jan 2013 06:07:38 +0000 (22:07 -0800)]
Retrieve kwargs.keys() just once.

11 years agotest cleanup
Kenneth Reitz [Thu, 10 Jan 2013 05:40:17 +0000 (00:40 -0500)]
test cleanup

11 years agoMake merge_kwargs case-insensitive when looking up keys.
Jian Li [Thu, 10 Jan 2013 05:29:24 +0000 (21:29 -0800)]
Make merge_kwargs case-insensitive when looking up keys.

11 years agoFixing test to ensure it passes with python 3.
Vinod Chandru [Thu, 10 Jan 2013 04:10:54 +0000 (20:10 -0800)]
Fixing test to ensure it passes with python 3.

11 years agoAllow for third argument in file dict value to support explicit
Vinod Chandru [Thu, 10 Jan 2013 03:29:28 +0000 (19:29 -0800)]
Allow for third argument in file dict value to support explicit
file content type.

11 years agoMerge pull request #1080 from sigmavirus24/master
Kenneth Reitz [Mon, 7 Jan 2013 18:42:30 +0000 (10:42 -0800)]
Merge pull request #1080 from sigmavirus24/master

Fix #1079

11 years agoMerge pull request #1085 from graingert/patch-1
Kenneth Reitz [Mon, 7 Jan 2013 18:42:14 +0000 (10:42 -0800)]
Merge pull request #1085 from graingert/patch-1

Update the advanced doc to use the r.json method

11 years agoMerge pull request #1086 from graingert/patch-2
Kenneth Reitz [Mon, 7 Jan 2013 18:41:51 +0000 (10:41 -0800)]
Merge pull request #1086 from graingert/patch-2

Update the link headers doc to match the code

11 years agoMerge pull request #1089 from PaulMcMillan/philosophy
Kenneth Reitz [Mon, 7 Jan 2013 18:41:32 +0000 (10:41 -0800)]
Merge pull request #1089 from PaulMcMillan/philosophy

Clarify support for alternative distributions

11 years agoClarify support for alternative distributions
Paul McMillan [Mon, 7 Jan 2013 18:34:51 +0000 (13:34 -0500)]
Clarify support for alternative distributions

11 years agoUpdate the link headers doc to match the code
Thomas Grainger [Fri, 4 Jan 2013 21:46:14 +0000 (21:46 +0000)]
Update the link headers doc to match the code

11 years agoUpdate the advanced doc to use the r.json method
Thomas Grainger [Fri, 4 Jan 2013 21:33:51 +0000 (21:33 +0000)]
Update the advanced doc to use the r.json method

11 years agoFix #1079
Ian Cordasco [Wed, 2 Jan 2013 19:25:33 +0000 (14:25 -0500)]
Fix #1079

Restore the functionality from here:
https://github.com/kennethreitz/requests/blob/v0.14.2/requests/models.py#L884

11 years agoUpdate LICENSE
Kenneth Reitz [Mon, 31 Dec 2012 22:59:18 +0000 (17:59 -0500)]
Update LICENSE

11 years agoMerge pull request #1076 from sigmavirus24/master
Kenneth Reitz [Mon, 31 Dec 2012 07:49:44 +0000 (23:49 -0800)]
Merge pull request #1076 from sigmavirus24/master

Remove (safe|danger)_mode references from docs

11 years agoRemove safe_mode/danger_mode from docs
Ian Cordasco [Mon, 31 Dec 2012 00:46:04 +0000 (19:46 -0500)]
Remove safe_mode/danger_mode from docs

11 years agoMerge pull request #1071 from Lukasa/master
Kenneth Reitz [Fri, 28 Dec 2012 15:41:55 +0000 (07:41 -0800)]
Merge pull request #1071 from Lukasa/master

Proxies should have schemes.

11 years agoRemove silly print statement.
Cory Benfield [Fri, 28 Dec 2012 15:38:04 +0000 (15:38 +0000)]
Remove silly print statement.

11 years agoMake sure proxies have their scheme attached.
Cory Benfield [Thu, 27 Dec 2012 13:37:36 +0000 (13:37 +0000)]
Make sure proxies have their scheme attached.

11 years agoMerge pull request #1060 from Lukasa/proxy
Kenneth Reitz [Thu, 27 Dec 2012 11:24:55 +0000 (03:24 -0800)]
Merge pull request #1060 from Lukasa/proxy

Provide full URL to proxies.

11 years agoRemove unneeded import.
Cory Benfield [Sat, 22 Dec 2012 13:35:45 +0000 (13:35 +0000)]
Remove unneeded import.

11 years agoUse full URL when contacting proxies.
Cory Benfield [Sat, 22 Dec 2012 12:11:45 +0000 (12:11 +0000)]
Use full URL when contacting proxies.

Requests should use the full URL, not the path URL, when forwarding
traffic through proxies.

11 years agoPreparedRequests don't carry proxy information.
Cory Benfield [Sat, 22 Dec 2012 12:00:24 +0000 (12:00 +0000)]
PreparedRequests don't carry proxy information.

The proxy info appears to be carried on the session. The only remnants
of proxy handling are this line in __init__().

11 years agoMerge pull request #1065 from slingamn/certs.release
Kenneth Reitz [Sun, 23 Dec 2012 10:49:02 +0000 (02:49 -0800)]
Merge pull request #1065 from slingamn/certs.release

clean up code support for OS certificate bundles

11 years agoclean up code support for OS certificate bundles
Shivaram Lingamneni [Sun, 23 Dec 2012 10:40:18 +0000 (02:40 -0800)]
clean up code support for OS certificate bundles

11 years agotimeout
Kenneth Reitz [Sun, 23 Dec 2012 07:45:41 +0000 (02:45 -0500)]
timeout

11 years agoupdate docs v1.0.4
Kenneth Reitz [Sun, 23 Dec 2012 07:42:14 +0000 (02:42 -0500)]
update docs

11 years agoreorder out there
Kenneth Reitz [Sun, 23 Dec 2012 07:34:53 +0000 (02:34 -0500)]
reorder out there

11 years agopython for ios
Kenneth Reitz [Sun, 23 Dec 2012 07:33:03 +0000 (02:33 -0500)]
python for ios

11 years agosupport
Kenneth Reitz [Sun, 23 Dec 2012 07:29:24 +0000 (02:29 -0500)]
support

11 years agophilsophy
Kenneth Reitz [Sun, 23 Dec 2012 07:27:28 +0000 (02:27 -0500)]
philsophy

11 years agoBenevolent
Kenneth Reitz [Sun, 23 Dec 2012 07:25:59 +0000 (02:25 -0500)]
Benevolent

11 years agosemantic versioning
Kenneth Reitz [Sun, 23 Dec 2012 07:13:31 +0000 (02:13 -0500)]
semantic versioning

11 years agodeveloper values
Kenneth Reitz [Sun, 23 Dec 2012 07:07:01 +0000 (02:07 -0500)]
developer values

11 years ago- Python 2.6—3.3
Kenneth Reitz [Sun, 23 Dec 2012 06:56:46 +0000 (01:56 -0500)]
- Python 2.6—3.3

11 years ago+
Kenneth Reitz [Sun, 23 Dec 2012 06:53:22 +0000 (01:53 -0500)]
+

11 years agophilosophy
Kenneth Reitz [Sun, 23 Dec 2012 06:51:23 +0000 (01:51 -0500)]
philosophy

11 years agocontributor
Kenneth Reitz [Sun, 23 Dec 2012 06:50:52 +0000 (01:50 -0500)]
contributor

11 years agodeveloper interface
Kenneth Reitz [Sun, 23 Dec 2012 06:50:23 +0000 (01:50 -0500)]
developer interface

11 years agorequest sessions
Kenneth Reitz [Sun, 23 Dec 2012 06:49:44 +0000 (01:49 -0500)]
request sessions

11 years agocleaup api docs
Kenneth Reitz [Sun, 23 Dec 2012 06:47:35 +0000 (01:47 -0500)]
cleaup api docs

11 years agothanks, @sigmavirus24
Kenneth Reitz [Sun, 23 Dec 2012 06:45:49 +0000 (01:45 -0500)]
thanks, @sigmavirus24

11 years agoapi docs
Kenneth Reitz [Sun, 23 Dec 2012 06:44:54 +0000 (01:44 -0500)]
api docs

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Sun, 23 Dec 2012 06:40:12 +0000 (01:40 -0500)]
Merge remote-tracking branch 'origin/master'

11 years agodocs update
Kenneth Reitz [Sun, 23 Dec 2012 06:40:07 +0000 (01:40 -0500)]
docs update

11 years agodocs, cleanup for preparedrequest
Kenneth Reitz [Sun, 23 Dec 2012 06:25:01 +0000 (01:25 -0500)]
docs, cleanup for preparedrequest