Kenneth Reitz [Mon, 17 Dec 2012 03:06:03 +0000 (22:06 -0500)]
keep json None fo row
Kenneth Reitz [Mon, 17 Dec 2012 03:03:55 +0000 (22:03 -0500)]
json errors
Kenneth Reitz [Sat, 15 Dec 2012 21:14:41 +0000 (13:14 -0800)]
Merge pull request #1007 from passy/patch-1
Updated Travis CI URL in README
Pascal Hartig [Sat, 15 Dec 2012 12:11:28 +0000 (13:11 +0100)]
Updated travis-ci URL in README
The old URL appears to be broken, redirecting to https://travis-ci.org//kennethreitz/requests
Also, according to [their wiki](http://about.travis-ci.org/docs/user/status-images/) the *secure* isn't required anymore.
Kenneth Reitz [Sat, 15 Dec 2012 10:50:05 +0000 (05:50 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Sat, 15 Dec 2012 10:50:01 +0000 (05:50 -0500)]
WHOOOOOOOOOOOOOOOO
Kenneth Reitz [Sat, 15 Dec 2012 10:22:25 +0000 (02:22 -0800)]
Merge pull request #1006 from passy/test-py3k-fix
Use range in favor of xrange for py3k test compatibility
Kenneth Reitz [Sat, 15 Dec 2012 10:19:20 +0000 (05:19 -0500)]
fewer comments
Kenneth Reitz [Sat, 15 Dec 2012 10:18:23 +0000 (05:18 -0500)]
backup
Kenneth Reitz [Sat, 15 Dec 2012 10:17:37 +0000 (05:17 -0500)]
working!!!
Kenneth Reitz [Sat, 15 Dec 2012 09:33:48 +0000 (04:33 -0500)]
base adapter
Kenneth Reitz [Sat, 15 Dec 2012 09:33:44 +0000 (04:33 -0500)]
cookies
Kenneth Reitz [Sat, 15 Dec 2012 08:34:54 +0000 (03:34 -0500)]
encode files
Kenneth Reitz [Sat, 15 Dec 2012 08:31:13 +0000 (03:31 -0500)]
really coming together
Kenneth Reitz [Sat, 15 Dec 2012 08:04:42 +0000 (03:04 -0500)]
basics working
Kenneth Reitz [Sat, 15 Dec 2012 05:45:43 +0000 (00:45 -0500)]
session.send()
Kenneth Reitz [Sat, 15 Dec 2012 05:45:12 +0000 (00:45 -0500)]
prepare
Kenneth Reitz [Sat, 15 Dec 2012 05:44:42 +0000 (00:44 -0500)]
test
Kenneth Reitz [Sat, 15 Dec 2012 05:12:38 +0000 (00:12 -0500)]
history
Kenneth Reitz [Sat, 15 Dec 2012 04:51:53 +0000 (23:51 -0500)]
logging handlers
Closes #971
Kenneth Reitz [Sat, 15 Dec 2012 04:39:10 +0000 (23:39 -0500)]
always get cookies
Kenneth Reitz [Sat, 15 Dec 2012 04:27:38 +0000 (23:27 -0500)]
remove danger_mode tests
Kenneth Reitz [Sat, 15 Dec 2012 04:26:48 +0000 (23:26 -0500)]
remove safe_mode tests
Kenneth Reitz [Sat, 15 Dec 2012 04:26:41 +0000 (23:26 -0500)]
ignore test files
Kenneth Reitz [Sat, 15 Dec 2012 04:11:49 +0000 (23:11 -0500)]
cleanup makefile
Kenneth Reitz [Sat, 15 Dec 2012 04:07:18 +0000 (20:07 -0800)]
Merge pull request #1001 from matthewlmcclure/issues/1000
Import oauthlib without the obsolete wrapper.
Kenneth Reitz [Sat, 15 Dec 2012 04:06:56 +0000 (20:06 -0800)]
Merge pull request #1002 from passy/remove-artifacts
Remove testing artifacts
Pascal Hartig [Fri, 14 Dec 2012 22:27:10 +0000 (23:27 +0100)]
Use range in favor of xrange for py3k compatibility
request_count is 2 so it really makes no difference performance-wise at all.
Pascal Hartig [Fri, 14 Dec 2012 22:08:54 +0000 (23:08 +0100)]
Removed testing artifacts
Kenneth Reitz [Wed, 12 Dec 2012 21:53:44 +0000 (16:53 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Wed, 12 Dec 2012 21:53:40 +0000 (16:53 -0500)]
trying out egg
Matt McClure [Wed, 12 Dec 2012 15:45:00 +0000 (10:45 -0500)]
Import oauthlib without the obsolete wrapper.
Fixes #1000.
Kenneth Reitz [Wed, 12 Dec 2012 08:09:43 +0000 (00:09 -0800)]
Merge pull request #998 from jamshid/master
Issue #996 Location should not be followed unless 30X response
Jamshid Afshar [Wed, 12 Dec 2012 00:14:13 +0000 (18:14 -0600)]
Issue #996 Location should not be followed unless 30X response.
Kenneth Reitz [Thu, 6 Dec 2012 18:21:15 +0000 (10:21 -0800)]
Merge pull request #991 from lyndsysimon/master
Changes license from ISC to Apache2
Lyndsy Simon [Wed, 5 Dec 2012 22:19:14 +0000 (16:19 -0600)]
Updates from ISC to Apache2
Kenneth Reitz [Wed, 5 Dec 2012 01:34:20 +0000 (17:34 -0800)]
Merge pull request #987 from Lukasa/master
Update docs to reflect correct use of raw.
Cory Benfield [Tue, 4 Dec 2012 18:10:33 +0000 (18:10 +0000)]
Prefetch must be false to use response.raw.
Resolves issue #979.
Kenneth Reitz [Mon, 3 Dec 2012 17:23:33 +0000 (09:23 -0800)]
Merge pull request #985 from ming13/readme-syntax-highlighting
Use console syntax highlighting in the readme file
Artur Dryomov [Mon, 3 Dec 2012 17:20:47 +0000 (20:20 +0300)]
Use console syntax highlighting in the readme file.
Kenneth Reitz [Sun, 2 Dec 2012 16:43:31 +0000 (08:43 -0800)]
Merge pull request #983 from jszakmeister/allow-strict
Add the ability to turn off HTTP 0.9 support.
John Szakmeister [Sun, 2 Dec 2012 16:25:18 +0000 (11:25 -0500)]
Add the ability to turn off HTTP 0.9 support.
While debugging an issue I discovered requests was coming back with 200
response, when it really shouldn't have. It turns out this happened for
two reasons: the jetty server running the app was rather lame and
didn't fail the request as a Bad Request, and httplib was happy to let
malformed data through and call it success.
It turns out httplib's strict flag controls this behavior of whether or
not to validate the status line. The underlying urllib3 supports the
concept as well. There was a bug there to that is now fixed upstream.
The last step is exposing this through requests. This introduces a
supports_http0.9 flag to help control this behavior. It defaults to
to True to preserve the current behavior. Setting it to False will
allow the underlying HTTPConnection to validate the status line.
Kenneth Reitz [Sun, 2 Dec 2012 09:09:05 +0000 (10:09 +0100)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Sun, 2 Dec 2012 09:08:57 +0000 (10:08 +0100)]
update charade
Kenneth Reitz [Sun, 2 Dec 2012 08:56:44 +0000 (00:56 -0800)]
Merge pull request #982 from vlaci/master
Added support for persistent connections (keep-alive) in proxy mode
László Vaskó [Sun, 2 Dec 2012 00:19:07 +0000 (01:19 +0100)]
Added support for persistent connections (keep-alive) in proxy mode
László Vaskó [Sat, 1 Dec 2012 23:21:08 +0000 (00:21 +0100)]
Added testcases for keep-alive handling
* Added a dummy_server module to check connection count
* Added testcases for proxy and direct connections
Kenneth Reitz [Sat, 1 Dec 2012 15:56:47 +0000 (07:56 -0800)]
Merge pull request #980 from dbrgn/github_name_change
Github name change
Kenneth Reitz [Sat, 1 Dec 2012 15:55:14 +0000 (16:55 +0100)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Sat, 1 Dec 2012 15:55:09 +0000 (16:55 +0100)]
chardet fixes!
Danilo Bargen [Sat, 1 Dec 2012 14:38:03 +0000 (15:38 +0100)]
Github name change
Kenneth Reitz [Thu, 29 Nov 2012 18:59:49 +0000 (10:59 -0800)]
Merge pull request #977 from ondrowan/patch-2
Update README.rst
Ondrej Slinták [Thu, 29 Nov 2012 18:58:46 +0000 (19:58 +0100)]
Update README.rst
There was a typo in AUTHORS link - it pointed to develop branch which no longer exists.
Kenneth Reitz [Thu, 29 Nov 2012 16:35:35 +0000 (08:35 -0800)]
Merge branch 'master' of github.com:kennethreitz/requests
Conflicts:
requests/compat.py
setup.py
Kenneth Reitz [Thu, 29 Nov 2012 16:30:07 +0000 (08:30 -0800)]
charade
Kenneth Reitz [Thu, 29 Nov 2012 16:29:02 +0000 (08:29 -0800)]
out with chardet, in with charade
Kenneth Reitz [Wed, 28 Nov 2012 16:40:09 +0000 (08:40 -0800)]
Merge pull request #973 from sigmavirus24/fix_972
Fix #972
Kenneth Reitz [Wed, 28 Nov 2012 16:33:56 +0000 (08:33 -0800)]
Merge pull request #976 from futoase/master
Repaired import error.
Keiji Matsuzaki [Wed, 28 Nov 2012 16:29:13 +0000 (01:29 +0900)]
Modified: Change the import statement.
Ian Cordasco [Wed, 28 Nov 2012 03:14:09 +0000 (22:14 -0500)]
Fix #972
Someone forgot a comma
Kenneth Reitz [Tue, 27 Nov 2012 21:08:16 +0000 (13:08 -0800)]
fixes for python2
Kenneth Reitz [Tue, 27 Nov 2012 20:52:17 +0000 (12:52 -0800)]
fix chardet import
Kenneth Reitz [Tue, 27 Nov 2012 20:42:11 +0000 (12:42 -0800)]
remove safe mode
Kenneth Reitz [Tue, 27 Nov 2012 20:41:28 +0000 (12:41 -0800)]
remove danger mode
Kenneth Reitz [Tue, 27 Nov 2012 20:41:12 +0000 (12:41 -0800)]
remove strict mode
Kenneth Reitz [Tue, 27 Nov 2012 20:37:59 +0000 (12:37 -0800)]
that shouldn't be neccesary anymore
Kenneth Reitz [Tue, 27 Nov 2012 20:36:29 +0000 (12:36 -0800)]
chardet2 is magic
Kenneth Reitz [Tue, 27 Nov 2012 19:48:17 +0000 (11:48 -0800)]
fix setup.py for oauth removal
Kenneth Reitz [Tue, 27 Nov 2012 19:47:17 +0000 (11:47 -0800)]
no more oauth
Kenneth Reitz [Tue, 27 Nov 2012 19:32:59 +0000 (11:32 -0800)]
lawyer up, v2
Kenneth Reitz [Tue, 27 Nov 2012 18:43:57 +0000 (10:43 -0800)]
Merge pull request #967 from matthewlmcclure/sign-without-body
Sign requests even if they have no body data.
Matt McClure [Tue, 27 Nov 2012 18:12:21 +0000 (13:12 -0500)]
Sign requests even if they have no body data.
Kenneth Reitz [Tue, 27 Nov 2012 04:50:09 +0000 (20:50 -0800)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Tue, 27 Nov 2012 01:27:35 +0000 (17:27 -0800)]
how was that still there?
Kenneth Reitz [Mon, 26 Nov 2012 20:26:38 +0000 (12:26 -0800)]
Merge pull request #962 from sigmavirus24/dev_docs
Add a bit more to the developer's documentation
Ian Cordasco [Mon, 26 Nov 2012 18:23:38 +0000 (13:23 -0500)]
Add a bit more to the developer's documentation
I'm not sure what else could be added to satisfy #601. If this is sufficient,
I suggest closing that.
Kenneth Reitz [Mon, 26 Nov 2012 08:40:27 +0000 (00:40 -0800)]
Merge pull request #956 from Lukasa/issue910
Try to resolve OAuth+JSON problems.
Kenneth Reitz [Mon, 26 Nov 2012 08:31:45 +0000 (00:31 -0800)]
Merge pull request #953 from heyman/fix_session_safe_mode
Fixes so that safe_mode works for Sessions
Kenneth Reitz [Mon, 26 Nov 2012 08:30:49 +0000 (00:30 -0800)]
Merge pull request #955 from Lukasa/issue882
Python 3.1 compatibility.
Kenneth Reitz [Sun, 25 Nov 2012 03:54:29 +0000 (19:54 -0800)]
Merge pull request #957 from sigmavirus24/fix_223
Attach Content-Length to everything.
Ian Cordasco [Sun, 25 Nov 2012 03:43:52 +0000 (22:43 -0500)]
Fix python 3 tests.
Ian Cordasco [Sun, 25 Nov 2012 03:01:16 +0000 (22:01 -0500)]
Handle files as well.
Ian Cordasco [Sun, 25 Nov 2012 02:47:47 +0000 (21:47 -0500)]
Attach Content-Length to everything.
Closes #223
Cory Benfield [Sat, 24 Nov 2012 21:17:29 +0000 (21:17 +0000)]
Make OAuth handle less-common body data better.
Related to Issue #910. Specifically, OAuth won't sign the request unless
it gets a body type that is urlencoded or multipart. This is overly
restrictive. The correct behaviour is to sign the message without
including the body as part of the signature.
Cory Benfield [Sat, 24 Nov 2012 12:15:30 +0000 (12:15 +0000)]
Avoid using callable().
Callable() is not included in Python 3.1, so we shouldn't use it.
Jonatan Heyman [Fri, 23 Nov 2012 15:48:51 +0000 (16:48 +0100)]
Fixed so that safe_mode works for Sessions
Kenneth Reitz [Fri, 23 Nov 2012 10:04:21 +0000 (02:04 -0800)]
Merge pull request #942 from Lukasa/issue883
MockRequest needs a type property for Py3.3
Kenneth Reitz [Fri, 23 Nov 2012 10:03:28 +0000 (02:03 -0800)]
Merge pull request #945 from Lukasa/develop
Respect the no_proxy environment variable.
Kenneth Reitz [Fri, 23 Nov 2012 10:02:18 +0000 (02:02 -0800)]
Merge pull request #947 from JohnPeacockMessageSystems/develop
Only return a path if the cacert.pem file exists.
Kenneth Reitz [Fri, 23 Nov 2012 10:01:20 +0000 (02:01 -0800)]
Merge pull request #948 from mwielgoszewski/develop
Back to issue #630, .isalnum() was sufficient in addressing the issue.
Marcin Wielgoszewski [Thu, 22 Nov 2012 16:10:22 +0000 (11:10 -0500)]
Back to issue #630, .isalnum() was sufficient in addressing the issue.
Adding a try/except block just masks any issues that are raised here, issues that the developer should definitely be made aware of.
Kenneth Reitz [Wed, 21 Nov 2012 22:59:11 +0000 (17:59 -0500)]
Merge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Wed, 21 Nov 2012 22:58:13 +0000 (17:58 -0500)]
obama
John Peacock [Wed, 21 Nov 2012 18:41:39 +0000 (13:41 -0500)]
Merge branch 'develop' of github.com:JohnPeacockMessageSystems/requests into develop
John Peacock [Wed, 21 Nov 2012 18:41:16 +0000 (13:41 -0500)]
Only return a path if the cacert.pem file exists.
This will permit the deletion of just that one file in order
to fall back to the [probably more accurate but less consistent]
Distro provided CA certs.
John Peacock [Wed, 21 Nov 2012 18:34:03 +0000 (13:34 -0500)]
Only return a path if the cacert.pem file exists.
This will permit the deletion of just that one file in order
to fall back to the [probably more accurate but less consistent]
Distro provided CA certs.
Cory Benfield [Sun, 18 Nov 2012 12:31:55 +0000 (12:31 +0000)]
Make sure we reset environment variables.
Turns out nose runs all the tests in one process, so changing the
os.environ dictionary makes everything go horribly wrong.
Cory Benfield [Sun, 18 Nov 2012 12:06:33 +0000 (12:06 +0000)]
Respect the no_proxy environment variable.
This change is in response to issue #879.
Cory Benfield [Sat, 17 Nov 2012 13:00:39 +0000 (13:00 +0000)]
MockRequest needs a type property for Py3.3
Kenneth Reitz [Sat, 17 Nov 2012 11:03:32 +0000 (03:03 -0800)]
Merge pull request #940 from Lukasa/issue917
Update docs to reflect use of params