Kenneth Reitz [Wed, 6 Feb 2013 21:05:04 +0000 (13:05 -0800)]
Merge pull request #1162 from Lukasa/proxy_auth
Proxy Authorization Headers
Kenneth Reitz [Wed, 6 Feb 2013 19:53:55 +0000 (11:53 -0800)]
Merge pull request #1168 from Lukasa/freeze
Feature freeze.
Cory Benfield [Wed, 6 Feb 2013 19:01:24 +0000 (19:01 +0000)]
Feature freeze.
Cory Benfield [Wed, 6 Feb 2013 18:24:23 +0000 (18:24 +0000)]
Add Proxy-Auth header when proxies have credentials.
Kenneth Reitz [Tue, 5 Feb 2013 19:42:51 +0000 (11:42 -0800)]
Merge pull request #1151 from sigmavirus24/fix1133
Move redirect handling from Session.request to Session.send
Kenneth Reitz [Fri, 1 Feb 2013 15:30:47 +0000 (07:30 -0800)]
Merge pull request #1158 from yehudasa/master
Fix check that breaks handling of 303 response in some cases (v2)
Yehuda Sadeh [Thu, 31 Jan 2013 18:32:00 +0000 (10:32 -0800)]
Fix POST 303 redirect resonse handling
This fixes issue #1156.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Kenneth Reitz [Thu, 31 Jan 2013 14:35:42 +0000 (14:35 +0000)]
moar
Kenneth Reitz [Thu, 31 Jan 2013 13:20:14 +0000 (13:20 +0000)]
HMG
Kenneth Reitz [Wed, 30 Jan 2013 23:56:21 +0000 (15:56 -0800)]
Merge pull request #1153 from cbare/master
use only base filename in multipart file upload
Kenneth Reitz [Wed, 30 Jan 2013 23:54:20 +0000 (15:54 -0800)]
Merge pull request #1152 from ekatsah/patch-1
Update docs/user/advanced.rst
Christopher Bare [Wed, 30 Jan 2013 23:33:43 +0000 (15:33 -0800)]
shorten filename by os.path.basename in guess_filename(obj)
ekatsah [Wed, 30 Jan 2013 20:22:24 +0000 (21:22 +0100)]
Update docs/user/advanced.rst
Rephrasing a line in the docs, add explicite mention of "client side certificate" (for indexing and clarity)
Ian Cordasco [Wed, 30 Jan 2013 15:58:32 +0000 (10:58 -0500)]
Thanks to @maxcountryman for the code review
Ian Cordasco [Wed, 30 Jan 2013 04:50:37 +0000 (23:50 -0500)]
Fix the elapsed test and #1133
Kenneth Reitz [Tue, 29 Jan 2013 04:52:17 +0000 (20:52 -0800)]
Merge pull request #1143 from Lukasa/master
Response as iterator
Cory Benfield [Sat, 26 Jan 2013 15:54:06 +0000 (15:54 +0000)]
Fix test for Py3.
Cory Benfield [Sat, 26 Jan 2013 15:24:25 +0000 (15:24 +0000)]
More useful docstring.
Cory Benfield [Sat, 26 Jan 2013 15:19:01 +0000 (15:19 +0000)]
Make Response objects iterable.
Kenneth Reitz [Mon, 28 Jan 2013 17:40:10 +0000 (09:40 -0800)]
Merge pull request #1148 from sigmavirus24/timing_switch
Move the timing work to Session.send
Ian Cordasco [Mon, 28 Jan 2013 16:53:02 +0000 (11:53 -0500)]
Move the timing work to Session.send
per @kennethreitz's request
Kenneth Reitz [Mon, 28 Jan 2013 03:11:15 +0000 (19:11 -0800)]
Merge pull request #1146 from oczkers/master
It`s more pep8 now
Kenneth Reitz [Mon, 28 Jan 2013 03:10:16 +0000 (19:10 -0800)]
Merge pull request #1138 from clee/master
Time each request
Chris Lee [Mon, 28 Jan 2013 03:01:39 +0000 (19:01 -0800)]
Use timedelta and change attribute name back to elapsed
Chris Lee [Thu, 24 Jan 2013 02:14:47 +0000 (18:14 -0800)]
Time how long each request takes
Stored as attribute Response.time_taken
oczkers [Sun, 27 Jan 2013 01:04:12 +0000 (02:04 +0100)]
it`s more pep8 now
Kenneth Reitz [Sat, 26 Jan 2013 17:05:19 +0000 (09:05 -0800)]
Merge pull request #1145 from sigmavirus24/master
Mock the links test
Ian Cordasco [Sat, 26 Jan 2013 16:55:08 +0000 (11:55 -0500)]
Mock the links test.
Kenneth Reitz [Sat, 26 Jan 2013 05:02:01 +0000 (21:02 -0800)]
Merge pull request #1103 from dmckeone/master
Restore the ability to use a list of 2-tuples for the data keyword argument with requests.post.
Kenneth Reitz [Sat, 26 Jan 2013 05:00:33 +0000 (21:00 -0800)]
Merge pull request #1123 from andrewjesaitis/master
Fixes DigestAuth with Sessions
Kenneth Reitz [Sat, 26 Jan 2013 04:58:35 +0000 (20:58 -0800)]
Merge pull request #1140 from ralphbean/cookie-test
Test for cookie parameters.
Kenneth Reitz [Sat, 26 Jan 2013 04:58:20 +0000 (20:58 -0800)]
Merge pull request #1142 from theaeolianmachine/removeGETContentLength
Remove default Content-Length from GET requests.
Johnny Goodnow [Sat, 26 Jan 2013 04:50:58 +0000 (20:50 -0800)]
Remove Content-Length from GET/HEAD by default.
Now, Content-Length is only auto-added for non-GET/HEAD requests.
Johnny Goodnow [Fri, 25 Jan 2013 20:07:24 +0000 (12:07 -0800)]
Always add Content-Length to HTTP PATCH.
Johnny Goodnow [Fri, 25 Jan 2013 08:19:09 +0000 (00:19 -0800)]
Add myself to AUTHORS.
Johnny Goodnow [Fri, 25 Jan 2013 05:25:14 +0000 (21:25 -0800)]
Fix python 2.6 unittest compatability issue.
Johnny Goodnow [Fri, 25 Jan 2013 05:10:12 +0000 (21:10 -0800)]
Remove default Content-Length from GET requests.
Fix #1051.
Ralph Bean [Fri, 25 Jan 2013 05:10:51 +0000 (00:10 -0500)]
purported py2.6 support for cookies test.
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
Ralph Bean [Thu, 24 Jan 2013 17:47:55 +0000 (12:47 -0500)]
Test for cookie parameters.
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
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
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.
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 ...
Steve Klabnik [Thu, 24 Jan 2013 01:31:05 +0000 (20:31 -0500)]
introduce a test for link headers.
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
Steve Klabnik [Thu, 24 Jan 2013 01:03:43 +0000 (20:03 -0500)]
remove silly assert
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
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.
Andrew Jesaitis [Wed, 23 Jan 2013 17:32:56 +0000 (10:32 -0700)]
Moves num_401_calls counter to HTTPDigestAuth
Ian Cordasco [Wed, 23 Jan 2013 16:51:37 +0000 (11:51 -0500)]
Only call the hook once.
Ian Cordasco [Wed, 23 Jan 2013 16:28:30 +0000 (11:28 -0500)]
Comment & replace something that keeps disappearing
sprt [Wed, 23 Jan 2013 14:45:44 +0000 (15:45 +0100)]
Refactor prepare_hooks()
sprt [Wed, 23 Jan 2013 14:45:14 +0000 (15:45 +0100)]
Add missing import
sprt [Wed, 23 Jan 2013 13:42:45 +0000 (14:42 +0100)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
requests/sessions.py
Kenneth Reitz [Wed, 23 Jan 2013 03:43:50 +0000 (19:43 -0800)]
Merge pull request #1125 from juanriaza/master
HTTPDigestAuth: missing algorithm field
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.
Kenneth Reitz [Wed, 23 Jan 2013 02:48:31 +0000 (18:48 -0800)]
Merge pull request #1117 from sigmavirus24/issue1106
Fix #1106
Kenneth Reitz [Wed, 23 Jan 2013 01:53:16 +0000 (17:53 -0800)]
Merge pull request #1127 from sigmavirus24/fix1126
A simple fix
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
Mantas Vidutis [Tue, 22 Jan 2013 22:40:10 +0000 (14:40 -0800)]
update urllib3 to current master with ssl bugfixes
Ian Cordasco [Tue, 22 Jan 2013 22:21:34 +0000 (17:21 -0500)]
Tests pass this time.
Juan Riaza [Tue, 22 Jan 2013 15:35:16 +0000 (16:35 +0100)]
missing algorithm field
Kenneth Reitz [Tue, 22 Jan 2013 14:40:24 +0000 (06:40 -0800)]
Merge pull request #1121 from Lukasa/typo
Small typo fixes.
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.
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
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
Ian Cordasco [Tue, 22 Jan 2013 01:21:08 +0000 (20:21 -0500)]
Fix failing tests.
Andrew Jesaitis [Mon, 21 Jan 2013 23:34:11 +0000 (16:34 -0700)]
Fixes repeated 401s when using DigestAuth with a session
Cory Benfield [Mon, 21 Jan 2013 21:15:04 +0000 (21:15 +0000)]
Decrease default line length for iter_lines
Cory Benfield [Mon, 21 Jan 2013 19:55:08 +0000 (19:55 +0000)]
Small typo fixes.
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
Steve Pulec [Mon, 21 Jan 2013 19:19:29 +0000 (14:19 -0500)]
Add py3.3 testing back
Cory Benfield [Sat, 19 Jan 2013 17:14:32 +0000 (17:14 +0000)]
Remove test that cannot work on Python3.
Ian Cordasco [Sat, 19 Jan 2013 16:49:52 +0000 (11:49 -0500)]
Fix #1106
Cory Benfield [Sat, 19 Jan 2013 12:07:34 +0000 (12:07 +0000)]
Ensure Content-Length is a string.
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
László Vaskó [Fri, 18 Jan 2013 12:41:14 +0000 (13:41 +0100)]
Fixed proxy requests to pool connections.
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
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().
Kenneth Reitz [Fri, 18 Jan 2013 03:50:55 +0000 (19:50 -0800)]
Merge pull request #1107 from Lukasa/master
Correct broken cookies example
Cory Benfield [Thu, 17 Jan 2013 19:28:28 +0000 (19:28 +0000)]
Update docs with correct cookie behaviour.
Kenneth Reitz [Thu, 17 Jan 2013 10:51:52 +0000 (02:51 -0800)]
Merge pull request #1105 from slingamn/turktrust
refresh CA certificates
Shivaram Lingamneni [Thu, 17 Jan 2013 10:02:49 +0000 (02:02 -0800)]
remove the TURKTRUST root certificates, as per #1102
David McKeone [Wed, 16 Jan 2013 18:53:24 +0000 (11:53 -0700)]
Allow passing POST data with a list of 2-tuples.
sprt [Sat, 12 Jan 2013 20:46:44 +0000 (21:46 +0100)]
Make hooks work with prepared requests
Matt McClure [Fri, 11 Jan 2013 20:04:47 +0000 (15:04 -0500)]
Resolves the parts of #1096 in requests proper.
Jud [Fri, 11 Jan 2013 16:42:02 +0000 (11:42 -0500)]
Fix spacing in setup.py
Kenneth Reitz [Fri, 11 Jan 2013 14:34:14 +0000 (09:34 -0500)]
+1
Kenneth Reitz [Thu, 10 Jan 2013 07:13:06 +0000 (02:13 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Thu, 10 Jan 2013 07:13:02 +0000 (02:13 -0500)]
v1.1.0 and docs
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.
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
Kenneth Reitz [Thu, 10 Jan 2013 06:58:46 +0000 (01:58 -0500)]
don't supply params for directs
Closes #1070
Kenneth Reitz [Thu, 10 Jan 2013 06:58:29 +0000 (01:58 -0500)]
CHUNKED REQUESTS!
Jian Li [Thu, 10 Jan 2013 06:07:38 +0000 (22:07 -0800)]
Retrieve kwargs.keys() just once.
Kenneth Reitz [Thu, 10 Jan 2013 05:40:17 +0000 (00:40 -0500)]
test cleanup
Jian Li [Thu, 10 Jan 2013 05:29:24 +0000 (21:29 -0800)]
Make merge_kwargs case-insensitive when looking up keys.
Vinod Chandru [Thu, 10 Jan 2013 04:10:54 +0000 (20:10 -0800)]
Fixing test to ensure it passes with python 3.
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.