Kenneth Reitz
71898bb793
chardet2 is magic
2012-11-27 12:36:29 -08:00
Kenneth Reitz
ad18d9ddd6
fix setup.py for oauth removal
2012-11-27 11:48:17 -08:00
Kenneth Reitz
4d06e4019f
no more oauth
2012-11-27 11:47:17 -08:00
Kenneth Reitz
5c1bc201c4
lawyer up, v2
2012-11-27 11:32:59 -08:00
Kenneth Reitz
cc723a64b9
Merge pull request #967 from matthewlmcclure/sign-without-body
...
Sign requests even if they have no body data.
2012-11-27 10:43:57 -08:00
Matt McClure
f02573f743
Sign requests even if they have no body data.
2012-11-27 13:12:21 -05:00
Kenneth Reitz
7fea9afecd
Merge remote-tracking branch 'origin/develop' into develop
2012-11-26 20:50:09 -08:00
Kenneth Reitz
a1b6ef3f85
how was that still there?
2012-11-26 17:27:35 -08:00
Kenneth Reitz
2dccc8e982
Merge pull request #962 from sigmavirus24/dev_docs
...
Add a bit more to the developer's documentation
2012-11-26 12:26:38 -08:00
Ian Cordasco
24ed8c9457
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.
2012-11-26 13:25:02 -05:00
Kenneth Reitz
0d59a27b56
Merge pull request #956 from Lukasa/issue910
...
Try to resolve OAuth+JSON problems.
2012-11-26 00:40:27 -08:00
Kenneth Reitz
d36ceb9d06
Merge pull request #953 from heyman/fix_session_safe_mode
...
Fixes so that safe_mode works for Sessions
2012-11-26 00:31:45 -08:00
Kenneth Reitz
27faf7aa69
Merge pull request #955 from Lukasa/issue882
...
Python 3.1 compatibility.
2012-11-26 00:30:49 -08:00
Kenneth Reitz
5ee00a75e0
Merge pull request #957 from sigmavirus24/fix_223
...
Attach Content-Length to everything.
2012-11-24 19:54:29 -08:00
Ian Cordasco
b93fbd30c3
Fix python 3 tests.
2012-11-24 22:43:52 -05:00
Ian Cordasco
61f16d1ddc
Handle files as well.
2012-11-24 22:02:14 -05:00
Ian Cordasco
f003025a37
Attach Content-Length to everything.
...
Closes #223
2012-11-24 21:47:47 -05:00
Cory Benfield
31f74bd02e
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.
2012-11-24 21:17:29 +00:00
Cory Benfield
d5f9a2a51c
Avoid using callable().
...
Callable() is not included in Python 3.1, so we shouldn't use it.
2012-11-24 12:15:30 +00:00
Jonatan Heyman
8269ee7266
Fixed so that safe_mode works for Sessions
2012-11-23 16:48:51 +01:00
Kenneth Reitz
991f47ac08
Merge pull request #942 from Lukasa/issue883
...
MockRequest needs a type property for Py3.3
2012-11-23 02:04:21 -08:00
Kenneth Reitz
1d1eb994dc
Merge pull request #945 from Lukasa/develop
...
Respect the no_proxy environment variable.
2012-11-23 02:03:28 -08:00
Kenneth Reitz
68224252e2
Merge pull request #947 from JohnPeacockMessageSystems/develop
...
Only return a path if the cacert.pem file exists.
2012-11-23 02:02:18 -08:00
Kenneth Reitz
36c32aead2
Merge pull request #948 from mwielgoszewski/develop
...
Back to issue #630 , .isalnum() was sufficient in addressing the issue.
2012-11-23 02:01:20 -08:00
Marcin Wielgoszewski
18be26fc2a
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.
2012-11-22 11:10:22 -05:00
Kenneth Reitz
59dea188da
Merge remote-tracking branch 'origin/develop' into develop
2012-11-21 17:59:11 -05:00
Kenneth Reitz
284deaa609
obama
2012-11-21 17:58:13 -05:00
John Peacock
68f7fae7c3
Merge branch 'develop' of github.com:JohnPeacockMessageSystems/requests into develop
2012-11-21 13:41:39 -05:00
John Peacock
20cd46426f
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.
2012-11-21 13:41:16 -05:00
John Peacock
c5fddb95ed
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.
2012-11-21 13:34:03 -05:00
Cory Benfield
c02520ed99
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.
2012-11-18 12:31:55 +00:00
Cory Benfield
8da100f652
Respect the no_proxy environment variable.
...
This change is in response to issue #879 .
2012-11-18 12:06:33 +00:00
Cory Benfield
b76326bf94
MockRequest needs a type property for Py3.3
2012-11-17 13:00:39 +00:00
Kenneth Reitz
50877717c8
Merge pull request #940 from Lukasa/issue917
...
Update docs to reflect use of params
2012-11-17 03:03:32 -08:00
Kenneth Reitz
47299421df
Merge pull request #941 from Lukasa/issue870
...
Update documentation on Sessions.
2012-11-17 03:03:03 -08:00
Cory Benfield
0792acc130
Update documentation on Sessions.
...
This resolves issue #870 . Better documentation here should be considered
for further work.
2012-11-17 10:57:26 +00:00
Cory Benfield
c8b2f7a37b
Update docs to reflect use of params
...
Resolves issue #917 .
2012-11-16 23:05:35 +00:00
Kenneth Reitz
dea8e96bd5
Merge pull request #925 from russelldavis/fix-encoding
...
Fix a bug in _encode_params
2012-11-15 02:13:30 -08:00
Kenneth Reitz
dda2fbd1ec
Merge pull request #937 from cleg/develop
...
Fix for default_user_agent when SIGCHILD intercepted
2012-11-15 02:11:55 -08:00
Pavel Dmitriev
a02f3dec02
Fix for user-agent setting
2012-11-13 17:40:13 +02:00
Kenneth Reitz
5333ec9331
Merge pull request #930 from maxcountryman/status-codes
...
adding UTF-8 status codes
2012-11-08 16:24:36 -08:00
Max Countryman
32aa3eb012
adding UTF-8 status codes
2012-11-08 14:30:13 -08:00
Kenneth Reitz
5a06ffd286
Merge pull request #921 from bmcustodio/setuptools-fixes
...
Added 'zip_safe' flag to 'setup.py' & Fixed typo in 'MANIFEST.in'
2012-11-07 22:08:32 -08:00
Russell Davis
ccf4ca8929
Fix a bug in _encode_params - it wasn't utf-8 encoding strings in values that
...
are iterable but not a list.
2012-11-03 12:58:04 -07:00
bmcustodio
f8603918db
Fixed typo in 'MANIFEST.in'.
2012-10-30 15:25:46 +00:00
bmcustodio
ec852c1e5a
Added 'zip_safe' flag to 'setup.py'.
2012-10-30 15:25:36 +00:00
Kenneth Reitz
63243b1e3b
v0.14.2
v0.14.2
2012-10-27 10:08:40 -05:00
Kenneth Reitz
5c63bc33fe
v0.14.2
2012-10-27 10:08:16 -05:00
Kenneth Reitz
28dc725cfe
Merge pull request #909 from mjpieters/issue765-json-encodings
...
Use a JSON-specific encoding detection when no encoding has been specified
2012-10-27 08:02:55 -07:00
Kenneth Reitz
2c9bee2597
Merge pull request #912 from jhalcrow/develop
...
Make sure that url has fragment removed when using a proxy
2012-10-27 08:01:17 -07:00