ayanamist
8a1d53eb3a
Correct OAuth1 with query or data.
2012-08-28 12:52:32 +08:00
Kenneth Reitz
9fb63adfa5
Merge pull request #814 from asapo/develop
...
import cchardet if available
2012-08-26 09:47:09 -07:00
ayanamist
913ef867be
Use logger instead of direct logging call.
2012-08-27 00:43:39 +08:00
asapo
fc9b8a0214
import cchardet if available
2012-08-27 01:30:04 +09:00
Kenneth Reitz
ab57c076e3
Merge pull request #811 from lucian1900/develop
...
Remove exception eating from dispatch_hook.
2012-08-25 08:06:56 -07:00
Kenneth Reitz
94869e720e
v0.13.9
2012-08-25 10:49:16 -04:00
Kenneth Reitz
f65b790e9d
Cleanup #800
2012-08-25 10:44:53 -04:00
Kenneth Reitz
fa44921241
Merge pull request #800 from ayanamist/develop
...
Fix kennethreitz/requests#790
2012-08-25 07:41:15 -07:00
Kenneth Reitz
088454b145
Merge pull request #805 from Lukasa/develop
...
Remove None values from post data.
2012-08-25 07:35:06 -07:00
Kenneth Reitz
95c82c7c0b
Merge branch 'develop' of git://github.com/weak/requests into develop
2012-08-25 10:33:37 -04:00
Cory Benfield
751e7a0a66
Do not post None values in data.
2012-08-22 22:33:25 +01:00
Andrew Tolbert
f18733d2be
Fix for #804 - Session params ommited in 0.13.8. If default_kwarg is a list, attempt to convert to dictionary
2012-08-22 09:49:40 -05:00
Kenneth Reitz
9eaee76c33
v0.13.8
2012-08-21 01:15:50 +10:00
Kenneth Reitz
c323047dbe
no more multidict
2012-08-21 01:10:55 +10:00
Kenneth Reitz
d8dcd35316
Fixes #711 !
2012-08-21 01:06:33 +10:00
Kenneth Reitz
a320336b5c
Merge pull request #801 from rhyselsmore/develop
...
Added in a link handler as per issue #711
2012-08-20 07:54:48 -07:00
Rhys Elsmore
f3159ed4f6
Added in a link handler as per issue #711
2012-08-21 00:47:19 +10:00
Kenneth Reitz
3514816d63
Merge remote-tracking branch 'origin/develop' into develop
2012-08-21 00:43:27 +10:00
Kenneth Reitz
e5fc88ad37
MultiDict
2012-08-21 00:43:16 +10:00
ayanamist
301d1a838f
Fix kennethreitz/requests#790
2012-08-20 17:18:26 +08:00
Kenneth Reitz
2d5d6f99ab
Merge pull request #797 from sigmavirus24/fix_order
...
Fix order of data+params
2012-08-20 00:55:17 -07:00
Joseph McCullough
c19650b00f
Fix SSL3 error on Ubuntu 12.04
2012-08-19 22:10:18 -05:00
Ian Cordasco
6d418d9132
Fix a fairly critical error on my part.
2012-08-19 16:38:40 -04:00
Ian Cordasco
f48c78c9ee
Change ordering of data + params back.
...
Fixes #795
2012-08-19 16:38:32 -04:00
Kenneth Reitz
b130b98086
v0.13.7
2012-08-19 10:46:55 +10:00
Kenneth Reitz
385217e55c
Merge pull request #789 from zigmonty/http_digest_fixes
...
HTTPDigestAuth fixes
2012-08-18 17:42:40 -07:00
Kenneth Reitz
489ce1c8a9
Merge pull request #779 from Lukasa/develop
...
Make sure proxy exclusions work properly.
2012-08-18 17:40:53 -07:00
Ian Cordasco
ab56e4a9f1
Fix python3 tests.
...
I wasn't thorough enough with how I dealt with headers. Most of the header
logic in the Request object utilizes dictionary properties which will not work
with a key/value list.
I'll dig more into this, but I know the rest of the features are more
important so I'll take my time on this and send a separate pull request.
2012-08-18 14:41:13 -04:00
Ian Cordasco
f01694e274
All tests pass, time for a PR.
2012-08-18 13:47:14 -04:00
Ian Cordasco
e02da89337
Merge branch 'develop' into key_val_lists
...
Conflicts:
requests/models.py
tests/test_requests.py
Remove some of Lukasa's duplication of my efforts in _encode_data.
2012-08-18 12:15:03 -04:00
Peter Montagner
5017aeb06c
Save credentials in the HTTPDigestAuth object and replay them if the user reuses the object.
2012-08-18 14:31:24 +10:00
Peter Montagner
53d454c813
Release connection in digest auth 401 handler to allow the connection to be reused.
2012-08-18 12:53:57 +10:00
Locker537
42d0a2169e
Whitespace fixes following PEP8.
2012-08-16 17:38:35 -04:00
Lucian Branescu Mihaila
57b4d39749
Remove exception eating from dispatch_hook.
2012-08-16 17:49:00 +02:00
Cory Benfield
00b4ca3b74
Don't get hung up on ports in proxies.
2012-08-15 18:16:27 +01:00
Cory Benfield
79d53d3b8a
Throw InvalidURL not UnicodeError on bad label.
2012-08-13 21:18:56 +01:00
Jakub Roztocil
dee3693ea0
Use BytesIO for bytes.
...
This fixes a TypeError on Python 3 that ocurred when passing
bytes as the values for files.
2012-08-10 19:49:03 +02:00
Jakub Roztocil
cfa627ae62
Fixed encoding of fields with the same name.
...
* Properly handle repeated data fields for multipart/form-data requests (#737 )
* Allow a list of 2-tuples as the `files` agument.
* Consistently serialize lists a of parameters (#729 ).
2012-08-10 19:49:03 +02:00
Kenneth Reitz
a65e8b4a22
Merge pull request #767 from stefanp/develop
...
Wrap socket.error in ConnectionError (+ unit tests)
2012-08-08 13:23:10 -07:00
Stefan Praszalowicz
875c9e18ab
Wrap socket.error in ConnectionError (+ unit tests)
2012-08-08 11:12:32 -07:00
Cory Benfield
6166ba7e13
Accept objects with string representations as URLs.
2012-08-08 13:33:25 +01:00
Ian Cordasco
ceec572cb9
Merge branch 'develop' into key_val_lists
...
Conflicts:
requests/models.py
2012-08-07 12:11:15 -04:00
Shivaram Lingamneni
000c105303
propagate self.prefetch on redirect
...
fixes RequestsTestSuite.test_prefetch_redirect_bug
2012-08-06 15:55:52 -07:00
Shivaram Lingamneni
030ead9c36
properly handle send(prefetch=False)
...
fixes RequestsTestSuite.test_prefetch_return_response_interaction
2012-08-06 15:55:52 -07:00
Cory Benfield
55bf436f8f
Correctly handle encoding numbers when POSTing.
2012-08-06 17:40:27 +01:00
Kenneth Reitz
fc6ddfd78a
v0.13.6
2012-08-06 02:45:52 -04:00
Kenneth Reitz
b13c24d7b9
Merge pull request #760 from slingamn/fix_leak.release
...
address connection leak issue from #520
2012-08-05 21:38:12 -07:00
Shivaram Lingamneni
3c0b94047c
address connection leak issue from #520
...
* prefetch now defaults to True, ensuring that by default, sockets
are returned to the urllib3 connection pool on request end
* sessions now have a close() method, notifying urllib3 to close pooled
connections
* the module-level API, e.g., `requests.get('http://www.google.com ')`,
explicitly closes its session when finished
When prefetch is False, the open socket becomes part of the state of the
Response object, and it's the client's responsibility to read the whole
body, at which point the socket will be returned to the pool.
2012-08-05 21:09:13 -07:00
Ian Cordasco
1722f28971
Add to_key_val_lists to avoid repetition.
...
It uses the same logic whenever we're trying to use a list of key values and
avoid what I had started doing -- using the same pattern everywhere.
proxies, and headers should both be covered by this commit.
2012-08-05 23:29:10 -04:00
Ian Cordasco
d82d124152
Merge branch 'develop' into key_val_lists
2012-08-05 16:59:24 -04:00