Kenneth Reitz [Wed, 2 May 2012 23:15:43 +0000 (19:15 -0400)]
oauthlib
Kenneth Reitz [Wed, 2 May 2012 23:13:19 +0000 (19:13 -0400)]
v0.12.0
Kenneth Reitz [Wed, 2 May 2012 23:09:18 +0000 (19:09 -0400)]
pre-send hook
#516
Kenneth Reitz [Wed, 2 May 2012 22:58:08 +0000 (15:58 -0700)]
Merge pull request #516 from EnTeQuAk/move_pre_request
Move pre_request to a more usable place, followup to #382
Kenneth Reitz [Wed, 2 May 2012 22:57:06 +0000 (18:57 -0400)]
upper case automatically
Kenneth Reitz [Wed, 2 May 2012 22:56:51 +0000 (18:56 -0400)]
making history
Kenneth Reitz [Wed, 2 May 2012 22:47:53 +0000 (18:47 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Wed, 2 May 2012 22:47:50 +0000 (18:47 -0400)]
default chunk size for .content much bigger
Kenneth Reitz [Wed, 2 May 2012 21:19:56 +0000 (14:19 -0700)]
Merge pull request #573 from idangazit/develop
Lazily encode data, params, files
Idan Gazit [Wed, 2 May 2012 21:08:00 +0000 (00:08 +0300)]
Merge remote-tracking branch 'upstream/develop' into develop
Idan Gazit [Wed, 2 May 2012 21:04:13 +0000 (00:04 +0300)]
Lazily encode data, params, files
Previously, data, params, and files were encoded and stored in
Request.__init__, and subsequently put into service during
Request.send. The problem with this approach is that hooks and auth
callables need to be aware of the eager encoding, and if they touch the
originals, make sure to update the encoded versions.
A better approach is to only encode late in the sending process. This
way, hooks and auth callables can safely make changes without fear of
the old, encoded variant overriding it.
Idan Gazit [Wed, 2 May 2012 20:16:38 +0000 (23:16 +0300)]
PEP8 Cleanup
Kenneth Reitz [Wed, 2 May 2012 06:38:20 +0000 (02:38 -0400)]
Revert "Update Makefile and travis configuration to run all (non-external) tests"
This reverts commit
a453a78c7c94aa220aa099dd62a36ec5b5232571.
Kenneth Reitz [Wed, 2 May 2012 06:38:11 +0000 (02:38 -0400)]
Revert "Cache the value of the `Response.text` property"
This reverts commit
d232948188f922c137dd709b53f77c49d1442c84.
Kenneth Reitz [Wed, 2 May 2012 06:37:51 +0000 (02:37 -0400)]
Revert "Use utf-8 as the default encoding"
This reverts commit
35d5ac6e8f5f4357f945b8c4890388207f7f1c00.
Shivaram Lingamneni [Wed, 2 May 2012 05:52:34 +0000 (22:52 -0700)]
Update Makefile and travis configuration to run all (non-external) tests
Shivaram Lingamneni [Wed, 2 May 2012 02:34:07 +0000 (19:34 -0700)]
Change setup.py to reflect required/optional dependencies
Shivaram Lingamneni [Wed, 2 May 2012 05:25:50 +0000 (22:25 -0700)]
Cache the value of the `Response.text` property
Shivaram Lingamneni [Wed, 2 May 2012 02:35:08 +0000 (19:35 -0700)]
Use utf-8 as the default encoding
(fixes crashes on failure to import chardet)
Shivaram Lingamneni [Wed, 2 May 2012 04:46:04 +0000 (21:46 -0700)]
update documentation to correspond to new cookie API
Shivaram Lingamneni [Wed, 2 May 2012 02:18:55 +0000 (19:18 -0700)]
restore docs/_build directory to .gitignore
Kenneth Reitz [Wed, 2 May 2012 00:22:37 +0000 (17:22 -0700)]
Merge pull request #565 from slingamn/cookiejar
Support CookieJar, references #281
Shivaram Lingamneni [Tue, 1 May 2012 23:32:40 +0000 (16:32 -0700)]
add Python 3 compatibility
Shivaram Lingamneni [Mon, 30 Apr 2012 11:00:48 +0000 (04:00 -0700)]
add laurentb's test case for cookie handling on redirects
Shivaram Lingamneni [Thu, 26 Apr 2012 19:21:09 +0000 (12:21 -0700)]
remove unused import in test
Shivaram Lingamneni [Thu, 26 Apr 2012 19:20:42 +0000 (12:20 -0700)]
fix and test for a bug dhagrow reported
Shivaram Lingamneni [Wed, 25 Apr 2012 20:40:17 +0000 (13:40 -0700)]
clarified documentation from e-mail discussion
Shivaram Lingamneni [Wed, 25 Apr 2012 16:20:19 +0000 (09:20 -0700)]
fix usage of compat.urlparse
(this code path appears to have been exercised only by secure cookies)
Shivaram Lingamneni [Wed, 25 Apr 2012 08:40:35 +0000 (01:40 -0700)]
add a test for redirection
Shivaram Lingamneni [Wed, 25 Apr 2012 07:50:34 +0000 (00:50 -0700)]
Further changes to move cookies to CookieJar
miguel [Fri, 3 Feb 2012 20:12:41 +0000 (15:12 -0500)]
mostly complete cookie support based on cookiejar
miguel [Fri, 3 Feb 2012 19:40:20 +0000 (14:40 -0500)]
mostly complete cookie support based on cookiejar
miguel [Fri, 3 Feb 2012 19:16:23 +0000 (14:16 -0500)]
catch TooManyRedirects in safe_mode
Shivaram Lingamneni [Tue, 1 May 2012 22:07:19 +0000 (15:07 -0700)]
changes to .gitignore
Kenneth Reitz [Tue, 1 May 2012 11:22:59 +0000 (07:22 -0400)]
LOLJK
Kenneth Reitz [Tue, 1 May 2012 11:19:04 +0000 (07:19 -0400)]
OAUTH ALL THE THINGS
Kenneth Reitz [Tue, 1 May 2012 11:17:35 +0000 (07:17 -0400)]
v0.11.3
Kenneth Reitz [Tue, 1 May 2012 11:07:18 +0000 (07:07 -0400)]
oauthlib only for 2
Kenneth Reitz [Tue, 1 May 2012 11:06:55 +0000 (07:06 -0400)]
syntax errors
Kenneth Reitz [Tue, 1 May 2012 11:02:13 +0000 (07:02 -0400)]
or str
Kenneth Reitz [Tue, 1 May 2012 10:57:21 +0000 (06:57 -0400)]
hax
Kenneth Reitz [Tue, 1 May 2012 10:55:19 +0000 (06:55 -0400)]
missed an import
Kenneth Reitz [Tue, 1 May 2012 10:54:09 +0000 (06:54 -0400)]
only import oauthlib in python2
Kenneth Reitz [Tue, 1 May 2012 10:50:38 +0000 (06:50 -0400)]
no -e
Kenneth Reitz [Tue, 1 May 2012 10:47:58 +0000 (06:47 -0400)]
uh, sure
Kenneth Reitz [Tue, 1 May 2012 10:42:58 +0000 (06:42 -0400)]
Revert "Call auth callable before encoding body data"
This reverts commit
9217a2523d7d4fafeebb259884276fc349a376b1.
Kenneth Reitz [Tue, 1 May 2012 10:27:55 +0000 (06:27 -0400)]
git+git://github.com/idangazit/oauthlib.git
Idan Gazit [Tue, 1 May 2012 10:04:23 +0000 (13:04 +0300)]
Trim down OAuth1 callable logic
Moved much of the validation out of requests and into oauthlib
Idan Gazit [Tue, 1 May 2012 10:03:10 +0000 (13:03 +0300)]
Backing out stupidly incorrect str vs unicode check
It's simply wrong. Since compat.py sets str = unicode for py2, the
original logic is sound.
Idan Gazit [Sun, 22 Apr 2012 11:39:53 +0000 (14:39 +0300)]
Fix order of return values from OAuth Client.sign()
Idan Gazit [Sun, 22 Apr 2012 11:39:29 +0000 (14:39 +0300)]
Fix Content-Type validation in OAuth1 callable
Idan Gazit [Sun, 22 Apr 2012 11:26:24 +0000 (14:26 +0300)]
Call auth callable before encoding body data
Idan Gazit [Sun, 22 Apr 2012 11:24:38 +0000 (14:24 +0300)]
Improve _encode_params to handle lists of two-element tuples
Idan Gazit [Thu, 19 Apr 2012 06:18:26 +0000 (09:18 +0300)]
Proper test for str vs unicode when preparing data
In python 2.x, requests sets str = unicode in requests/compat.py. This causes
isinstance(foo, str) to return True even if foo is a unicode string.
Idan Gazit [Thu, 12 Apr 2012 14:40:04 +0000 (17:40 +0300)]
Initial implementation of OAuth1 request signing with OAuthLib
Idan Gazit [Thu, 12 Apr 2012 14:37:20 +0000 (17:37 +0300)]
Improve docstring description of auth parameter
Idan Gazit [Wed, 11 Apr 2012 14:20:55 +0000 (17:20 +0300)]
Add .egg-info/ dir to gitignore
Kenneth Reitz [Tue, 1 May 2012 09:51:59 +0000 (05:51 -0400)]
httpbin weirdness
Kenneth Reitz [Mon, 23 Apr 2012 02:29:26 +0000 (22:29 -0400)]
v0.11.2
Kenneth Reitz [Mon, 23 Apr 2012 02:29:00 +0000 (22:29 -0400)]
revert
Kenneth Reitz [Mon, 23 Apr 2012 02:26:53 +0000 (22:26 -0400)]
merge conflict
Kenneth Reitz [Mon, 23 Apr 2012 02:26:07 +0000 (22:26 -0400)]
Revert "Add failing tests for invalid %encodings"
This reverts commit
e28c1c9bfa286b0badb10ddbbeb1fd965f57cad6.
Kenneth Reitz [Mon, 23 Apr 2012 02:25:57 +0000 (22:25 -0400)]
Revert "Reenable test_session_with_escaped_url test"
This reverts commit
3550ac7473883aea52ca7f4153de8c26357d5c37.
Kenneth Reitz [Mon, 23 Apr 2012 02:08:39 +0000 (22:08 -0400)]
v0.11.2
Kenneth Reitz [Mon, 23 Apr 2012 01:53:31 +0000 (18:53 -0700)]
Merge pull request #552 from slingamn/bundle_2
attempt to use the OS's certificate bundle
Shivaram Lingamneni [Mon, 23 Apr 2012 01:43:59 +0000 (18:43 -0700)]
prefer certifi's bundle to the OS bundle
Shivaram Lingamneni [Thu, 19 Apr 2012 21:27:26 +0000 (14:27 -0700)]
add the FreeBSD certificate bundle path
Shivaram Lingamneni [Mon, 16 Apr 2012 22:42:14 +0000 (15:42 -0700)]
Add a smoke test for https functionality
Shivaram Lingamneni [Mon, 16 Apr 2012 19:31:47 +0000 (12:31 -0700)]
Try to use the OS's CA certificate bundle for SSL verification
Kenneth Reitz [Sat, 14 Apr 2012 10:19:10 +0000 (03:19 -0700)]
Merge pull request #550 from reclosedev/develop
Fix issue #549. Add 'prefetch' to Session.__attrs__ and Requests.__init__
Roman Haritonov [Fri, 13 Apr 2012 15:25:10 +0000 (19:25 +0400)]
fix #549 Add 'prefetch' to Session.__attrs__ and Requests.__init__
Kenneth Reitz [Fri, 13 Apr 2012 06:34:18 +0000 (08:34 +0200)]
Merge branch 'develop' of https://github.com/catwell/requests into develop
Kenneth Reitz [Thu, 12 Apr 2012 19:44:44 +0000 (12:44 -0700)]
Merge pull request #548 from umbrae/httperror_fix
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.
Chris Dary [Thu, 12 Apr 2012 16:35:34 +0000 (12:35 -0400)]
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.
Pierre Chapuis [Thu, 12 Apr 2012 15:49:48 +0000 (17:49 +0200)]
Encode Multipart Post data at Request creation
This fixes #298 (File upload not working with
HTTP digest authentication)
Pierre Chapuis [Thu, 12 Apr 2012 14:33:15 +0000 (16:33 +0200)]
Fix infinite loop on wrong Digest Authentication
Kenneth Reitz [Wed, 11 Apr 2012 15:02:46 +0000 (08:02 -0700)]
Merge pull request #535 from Jonty/develop
Fix decoding of invalid %encodings in URLs
Jonty Wareing [Wed, 4 Apr 2012 09:34:39 +0000 (09:34 +0000)]
Rewrite unquote_unreserved based on urllib.unquote
This is almost entirely taken from the unquote implementation in urllib,
slightly modified for the case in hand. It now deals with invalid %encodings
rather than exploding, and the code is somewhat simpler.
Jonty Wareing [Wed, 4 Apr 2012 09:17:53 +0000 (09:17 +0000)]
Add failing tests for invalid %encodings
Jonty Wareing [Wed, 4 Apr 2012 09:15:58 +0000 (09:15 +0000)]
Reenable test_session_with_escaped_url test
Idan Gazit [Wed, 11 Apr 2012 11:05:33 +0000 (14:05 +0300)]
Trigger setup.py develop when installing requirements
Idan Gazit [Wed, 11 Apr 2012 11:02:59 +0000 (14:02 +0300)]
Clarify digest hash method names
Kenneth Reitz [Wed, 11 Apr 2012 02:00:25 +0000 (23:00 -0300)]
#539
Kenneth Reitz [Tue, 10 Apr 2012 15:43:46 +0000 (08:43 -0700)]
Merge pull request #545 from sharat87/patch-1
Add docs on sending lists for multivalued query params.
Shrikant Sharat Kandula [Tue, 10 Apr 2012 09:12:38 +0000 (14:42 +0530)]
Add docs on sending lists for multivalued query params.
Kenneth Reitz [Mon, 9 Apr 2012 08:22:07 +0000 (04:22 -0400)]
moar
Kenneth Reitz [Mon, 9 Apr 2012 03:13:38 +0000 (20:13 -0700)]
Merge pull request #542 from newmaniese/develop
Attempting to address issue #377 by making content on the response model a little smarter
Michael Newman [Sun, 8 Apr 2012 22:46:26 +0000 (18:46 -0400)]
Fixing a silly typo in my test
Michael Newman [Sun, 8 Apr 2012 22:42:08 +0000 (18:42 -0400)]
Shamelessly adding myself to the authors list
Michael Newman [Sun, 8 Apr 2012 22:39:44 +0000 (18:39 -0400)]
If there is no content in a response don't throw an error the second time that content is attempted to be read. This addresses issue #377 <https://github.com/kennethreitz/requests/issues/377>
Kenneth Reitz [Fri, 6 Apr 2012 17:01:19 +0000 (10:01 -0700)]
Merge pull request #540 from jhalcrow/patch-1
Correct path to test_requests.py for setup.py test
Jonathan Halcrow [Fri, 6 Apr 2012 15:50:16 +0000 (12:50 -0300)]
Correct path to test_requests.py for setup.py test
Kenneth Reitz [Wed, 4 Apr 2012 08:05:00 +0000 (01:05 -0700)]
Merge pull request #534 from ThiefMaster/patch-1
Remove bad tab indent
Adrian [Wed, 4 Apr 2012 08:03:49 +0000 (11:03 +0300)]
Remove bad tab indent
Andrey Petrov [Mon, 2 Apr 2012 23:59:08 +0000 (16:59 -0700)]
Fixed typoe (s/repsonses/responses/)
Kenneth Reitz [Mon, 2 Apr 2012 07:44:00 +0000 (00:44 -0700)]
Merge pull request #530 from Osmose/sidebar_donate
Fix #506: Change "Support Requests" to "Donate".
Kenneth Reitz [Mon, 2 Apr 2012 07:43:11 +0000 (03:43 -0400)]
Michael Kelly
Michael Kelly [Mon, 2 Apr 2012 07:40:20 +0000 (00:40 -0700)]
Fix #506: Change "Support Requests" to "Donate".
Kenneth Reitz [Sat, 31 Mar 2012 21:39:31 +0000 (17:39 -0400)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 31 Mar 2012 21:39:26 +0000 (17:39 -0400)]
new urllib3 version
#498