Kenneth Reitz
5d9699bbdc
oauthlib only for 2
2012-05-01 07:07:18 -04:00
Kenneth Reitz
e6cce7a5bd
syntax errors
2012-05-01 07:06:55 -04:00
Kenneth Reitz
d79e1bbaad
or str
2012-05-01 07:02:13 -04:00
Kenneth Reitz
bf1744eea2
hax
2012-05-01 06:57:25 -04:00
Kenneth Reitz
9427e1efe8
missed an import
2012-05-01 06:55:19 -04:00
Kenneth Reitz
661af1dc1a
only import oauthlib in python2
2012-05-01 06:54:09 -04:00
Kenneth Reitz
a5bc99d53e
no -e
2012-05-01 06:50:38 -04:00
Kenneth Reitz
14fae695bf
uh, sure
2012-05-01 06:47:58 -04:00
Kenneth Reitz
be04142723
Revert "Call auth callable before encoding body data"
...
This reverts commit 9217a2523d .
2012-05-01 06:42:58 -04:00
Kenneth Reitz
748c65f7a7
git+git://github.com/idangazit/oauthlib.git
2012-05-01 06:27:55 -04:00
Idan Gazit
2fc9f6bbc9
Trim down OAuth1 callable logic
...
Moved much of the validation out of requests and into oauthlib
2012-05-01 06:20:53 -04:00
Idan Gazit
65bf3ab201
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.
2012-05-01 06:20:53 -04:00
Idan Gazit
906fcd7328
Fix order of return values from OAuth Client.sign()
2012-05-01 06:20:52 -04:00
Idan Gazit
7b819852b9
Fix Content-Type validation in OAuth1 callable
2012-05-01 06:20:52 -04:00
Idan Gazit
9217a2523d
Call auth callable before encoding body data
2012-05-01 06:20:52 -04:00
Idan Gazit
0aedef07c3
Improve _encode_params to handle lists of two-element tuples
2012-05-01 06:20:52 -04:00
Idan Gazit
3e60a9eb9c
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.
2012-05-01 06:20:52 -04:00
Idan Gazit
798dc4ae1d
Initial implementation of OAuth1 request signing with OAuthLib
2012-05-01 06:20:52 -04:00
Idan Gazit
632d9893b0
Improve docstring description of auth parameter
2012-05-01 06:20:52 -04:00
Idan Gazit
809d9863bf
Add .egg-info/ dir to gitignore
2012-05-01 06:20:52 -04:00
Kenneth Reitz
742cbeaee1
httpbin weirdness
2012-05-01 05:51:59 -04:00
Kenneth Reitz
2159c80270
v0.11.2
2012-04-22 22:29:26 -04:00
Kenneth Reitz
8e9446d3fb
revert
2012-04-22 22:29:00 -04:00
Kenneth Reitz
a7da521a62
merge conflict
2012-04-22 22:26:53 -04:00
Kenneth Reitz
2621fe2bff
Revert "Add failing tests for invalid %encodings"
...
This reverts commit e28c1c9bfa .
2012-04-22 22:26:07 -04:00
Kenneth Reitz
3843a40f7c
Revert "Reenable test_session_with_escaped_url test"
...
This reverts commit 3550ac7473 .
2012-04-22 22:25:57 -04:00
Kenneth Reitz
f647352d01
v0.11.2
2012-04-22 22:08:39 -04:00
Kenneth Reitz
1631f0f5ae
Merge pull request #552 from slingamn/bundle_2
...
attempt to use the OS's certificate bundle
2012-04-22 18:53:31 -07:00
Shivaram Lingamneni
b4eb8663af
prefer certifi's bundle to the OS bundle
2012-04-22 18:43:59 -07:00
Shivaram Lingamneni
e1528ce3be
add the FreeBSD certificate bundle path
2012-04-19 14:27:26 -07:00
Shivaram Lingamneni
1360e77cb2
Add a smoke test for https functionality
2012-04-16 17:50:40 -07:00
Shivaram Lingamneni
9921099546
Try to use the OS's CA certificate bundle for SSL verification
2012-04-16 15:28:31 -07:00
Kenneth Reitz
2f6b5feb1a
Merge pull request #550 from reclosedev/develop
...
Fix issue #549 . Add 'prefetch' to Session.__attrs__ and Requests.__init__
2012-04-14 03:19:10 -07:00
Roman Haritonov
d569a2d6bc
fix #549 Add 'prefetch' to Session.__attrs__ and Requests.__init__
2012-04-13 19:25:10 +04:00
Kenneth Reitz
e3ba495ed9
Merge branch 'develop' of https://github.com/catwell/requests into develop
2012-04-13 08:34:18 +02:00
Kenneth Reitz
d4a77cf2af
Merge pull request #548 from umbrae/httperror_fix
...
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.
2012-04-12 12:44:44 -07:00
Chris Dary
3a2eaa67a2
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.
2012-04-12 12:35:34 -04:00
Pierre Chapuis
f3ad56f103
Encode Multipart Post data at Request creation
...
This fixes #298 (File upload not working with
HTTP digest authentication)
2012-04-12 17:49:48 +02:00
Pierre Chapuis
c3e6c41fc1
Fix infinite loop on wrong Digest Authentication
2012-04-12 16:33:15 +02:00
Kenneth Reitz
8a055c5d42
Merge pull request #535 from Jonty/develop
...
Fix decoding of invalid %encodings in URLs
2012-04-11 08:02:46 -07:00
Jonty Wareing
06e4971fe7
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.
2012-04-11 14:56:19 +00:00
Jonty Wareing
e28c1c9bfa
Add failing tests for invalid %encodings
2012-04-11 14:55:43 +00:00
Jonty Wareing
3550ac7473
Reenable test_session_with_escaped_url test
2012-04-11 14:55:43 +00:00
Idan Gazit
51800bf36f
Trigger setup.py develop when installing requirements
2012-04-11 14:05:33 +03:00
Idan Gazit
c89a3e207e
Clarify digest hash method names
2012-04-11 14:02:59 +03:00
Kenneth Reitz
365c64fe3b
#539
2012-04-10 23:00:25 -03:00
Kenneth Reitz
6b652f766d
Merge pull request #545 from sharat87/patch-1
...
Add docs on sending lists for multivalued query params.
2012-04-10 08:43:46 -07:00
Shrikant Sharat Kandula
5a8a8f2bd3
Add docs on sending lists for multivalued query params.
2012-04-10 14:42:38 +05:30
Kenneth Reitz
821cbb3e08
moar
2012-04-09 04:22:10 -04:00
Kenneth Reitz
f8798aee28
Merge pull request #542 from newmaniese/develop
...
Attempting to address issue #377 by making content on the response model a little smarter
2012-04-08 20:13:38 -07:00