Kenneth Reitz
7eed89a0df
v0.11.3
2012-05-01 07:17:35 -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
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
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
Kenneth Reitz
2159c80270
v0.11.2
2012-04-22 22:29:26 -04:00
Kenneth Reitz
a7da521a62
merge conflict
2012-04-22 22:26:53 -04: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
9921099546
Try to use the OS's CA certificate bundle for SSL verification
2012-04-16 15:28:31 -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
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
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
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
Shrikant Sharat Kandula
5a8a8f2bd3
Add docs on sending lists for multivalued query params.
2012-04-10 14:42:38 +05:30
Michael Newman
b92feb3f0a
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 >
2012-04-08 18:39:44 -04:00
Kenneth Reitz
2bae0d295b
new urllib3 version
...
#498
2012-03-31 17:39:26 -04:00
Kenneth Reitz
171b370b0e
app engine #498
2012-03-31 03:08:12 -04:00
Kenneth Reitz
775b6f6f00
v0.11.1
2012-03-30 23:42:56 -04:00
Kenneth Reitz
dacc1d8aaf
default to true for redirects now, since safe
2012-03-30 23:42:04 -04:00
Kenneth Reitz
18591920f3
upload data on redirects too
2012-03-30 23:31:19 -04:00
Kenneth Reitz
b20d171c1c
POST redirect => GET
...
#269
2012-03-30 23:28:07 -04:00
Kenneth Reitz
fff5269d1a
Fix app engine error for #498
2012-03-30 23:15:43 -04:00
Kenneth Reitz
e831947be4
strict mode for #269
2012-03-30 23:15:31 -04:00
Christopher Grebs
f25901874a
Move pre_request to a more usable place, followup to #382
...
Having the hook called so late makes it impossible to overwrite the HTTP request
calling behavior and set self.sent to True in case of possible cache matches
for example.
This way we can interfere before we waste any CPU time to calculate
a request.
2012-03-27 15:38:56 +02:00
Kenneth Reitz
3cc6acaca4
Merge remote-tracking branch 'origin/develop' into develop
2012-03-25 15:26:58 -04:00
Kenneth Reitz
21ccf8f8c0
urllib3 v1.3
2012-03-25 15:26:55 -04:00
Kenneth Reitz
b973d08b0e
Merge pull request #512 from silent1mezzo/master
...
Adds MissingSchema and InvalidSchema Exceptions
2012-03-25 12:00:57 -07:00
Adam McKerlie
d24ee0e1dc
Created MissingSchema and InvalidSchema which inherits from RequestException and ValueError
2012-03-25 11:03:36 -04:00
Kenneth Reitz
12427e3434
Merge branch 'patch-1' of https://github.com/spulec/requests into develop
2012-03-18 22:18:49 -04:00
Kenneth Reitz
76bf523a1f
Merge #491
2012-03-18 22:15:05 -04:00
Kenneth Reitz
613816dd9d
Merge pull request #488 from newmaniese/develop
...
Excluding select from the monkey patching that gevent does to allow sele...
2012-03-18 19:08:51 -07:00
Steve Pulec
3c2f52d681
Fixes issues #496 by having Response.ok catch all Requests exceptions.
2012-03-18 23:06:42 -03:00
Ian Danforth
44277441d6
Sphinx throws an error if you don't escape ** in **kwargs
2012-03-18 18:11:15 -07:00