Kenneth Reitz [Tue, 8 May 2012 04:58:20 +0000 (21:58 -0700)]
Merge pull request #559 from barberj/issue_526
Issue #526
barberj [Sun, 6 May 2012 23:24:37 +0000 (19:24 -0400)]
adding test verifying data httpbin sees
barberj [Sun, 6 May 2012 22:50:42 +0000 (18:50 -0400)]
synatx error for python3. all strings are unicode
barberj [Wed, 25 Apr 2012 20:45:21 +0000 (16:45 -0400)]
sending strings to be received as files
barberj [Sat, 21 Apr 2012 03:30:45 +0000 (23:30 -0400)]
added unicode strings
barberj [Sat, 21 Apr 2012 02:18:28 +0000 (22:18 -0400)]
credit where credits due
barberj [Sat, 21 Apr 2012 02:15:35 +0000 (22:15 -0400)]
added mutlipart file=strings
Kenneth Reitz [Sun, 6 May 2012 19:54:06 +0000 (12:54 -0700)]
Merge pull request #590 from berkerpeksag/doc-links
Fixed broken links in TODO docs.
Berker Peksag [Sun, 6 May 2012 19:26:28 +0000 (22:26 +0300)]
Fixed broken links in TODO docs.
Kenneth Reitz [Fri, 4 May 2012 18:49:49 +0000 (11:49 -0700)]
Merge pull request #585 from chazapis/develop
Fix out-of-range issue with iter_lines (#515).
Kenneth Reitz [Fri, 4 May 2012 18:48:35 +0000 (11:48 -0700)]
Merge pull request #587 from slingamn/jenkins
unbreak the Jenkins build by excluding ./env/*
Shivaram Lingamneni [Fri, 4 May 2012 11:45:30 +0000 (04:45 -0700)]
unbreak the Jenkins build by excluding ./env/*
Kenneth Reitz [Fri, 4 May 2012 06:29:04 +0000 (23:29 -0700)]
Merge pull request #579 from slingamn/pyflakes.release
Changes for #574
Kenneth Reitz [Fri, 4 May 2012 06:28:07 +0000 (23:28 -0700)]
Merge pull request #581 from crodjer/develop
A utility for using environment proxies
Kenneth Reitz [Fri, 4 May 2012 06:26:44 +0000 (23:26 -0700)]
Merge pull request #582 from slingamn/cookietests.release
Tests for persistent and secure cookies
Shivaram Lingamneni [Fri, 4 May 2012 05:21:17 +0000 (22:21 -0700)]
Tests for persistent and secure cookies
Rohan Jain [Fri, 4 May 2012 05:29:57 +0000 (10:59 +0530)]
Add myself to authors
Signed-off-by: Rohan Jain <crodjer@gmail.com>
Rohan Jain [Fri, 4 May 2012 05:14:07 +0000 (10:44 +0530)]
Use utility for environment proxy as fallback
Signed-off-by: Rohan Jain <crodjer@gmail.com>
Rohan Jain [Fri, 4 May 2012 05:11:57 +0000 (10:41 +0530)]
A utility function to fetch environment proxies
This adds support for lowercase environment proxy variables (which are
quite popular too). It returns proxies in a format compatible with
request's proxy parameter.
Moreover, it can be used in the request models for proxy defaults.
Signed-off-by: Rohan Jain <crodjer@gmail.com>
Kenneth Reitz [Fri, 4 May 2012 04:33:42 +0000 (21:33 -0700)]
Merge pull request #580 from slingamn/keepalive
Fix and test for #458
Shivaram Lingamneni [Fri, 4 May 2012 04:16:56 +0000 (21:16 -0700)]
fix for #458
Shivaram Lingamneni [Fri, 4 May 2012 04:16:46 +0000 (21:16 -0700)]
test for #458
Shivaram Lingamneni [Thu, 3 May 2012 05:37:45 +0000 (22:37 -0700)]
quiet spurious pyflakes errors
Shivaram Lingamneni [Thu, 3 May 2012 05:35:10 +0000 (22:35 -0700)]
Various Makefile updates
Kenneth Reitz [Thu, 3 May 2012 08:36:12 +0000 (01:36 -0700)]
Merge pull request #577 from slingamn/redirects_537
Fix and test for #537
Kenneth Reitz [Thu, 3 May 2012 08:35:47 +0000 (01:35 -0700)]
Merge pull request #572 from slingamn/chardet_2
cleanup, redux
Shivaram Lingamneni [Thu, 3 May 2012 08:28:59 +0000 (01:28 -0700)]
fix crash in safe mode when response.cookies is None
Shivaram Lingamneni [Thu, 3 May 2012 08:21:37 +0000 (01:21 -0700)]
add a test for max_redirects in safe/normal modes
Shivaram Lingamneni [Wed, 2 May 2012 08:09:10 +0000 (01:09 -0700)]
consistency: .text shouldn't recover from unicode decoding errors, either
Shivaram Lingamneni [Wed, 2 May 2012 07:19:21 +0000 (00:19 -0700)]
remove fancy test assertions that are unavailable on 2.6
Shivaram Lingamneni [Wed, 2 May 2012 06:55:56 +0000 (23:55 -0700)]
raise a ValueError if no encoding was sent and chardet is unavailable
Shivaram Lingamneni [Wed, 2 May 2012 06:42:24 +0000 (23:42 -0700)]
Have Travis run all tests except the external and async ones
(async is currently unsupported under Python 3)
Kenneth Reitz [Wed, 2 May 2012 23:18:14 +0000 (19:18 -0400)]
missed import
Kenneth Reitz [Wed, 2 May 2012 23:17:14 +0000 (19:17 -0400)]
date fix
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
Antony Chazapis [Wed, 2 May 2012 13:51:19 +0000 (16:51 +0300)]
Fix out-of-range issue with iter_lines (#515).
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