services/python-requests.git
13 years agoDecode response URL to a unicode string.
Johannes Gorset [Thu, 19 Jan 2012 23:34:06 +0000 (00:34 +0100)]
Decode response URL to a unicode string.

Fixes #182

13 years agoMerge pull request #364 from gthank/8efb6cc870bd23de0d8d87708217d818236a733f
Kenneth Reitz [Thu, 19 Jan 2012 19:12:23 +0000 (11:12 -0800)]
Merge pull request #364 from gthank/8efb6cc870bd23de0d8d87708217d818236a733f

Allow sessions and async requests to mix.

13 years agov0.9.3 v0.9.3
Kenneth Reitz [Thu, 19 Jan 2012 02:56:33 +0000 (21:56 -0500)]
v0.9.3

13 years agoMerge branch 'develop' of github.com:kennethreitz/requests into develop
Kenneth Reitz [Thu, 19 Jan 2012 02:49:25 +0000 (21:49 -0500)]
Merge branch 'develop' of github.com:kennethreitz/requests into develop

13 years agov0.9.2
Kenneth Reitz [Thu, 19 Jan 2012 02:25:03 +0000 (21:25 -0500)]
v0.9.2

13 years agoMerge branch 'streaming' of https://github.com/RonnyPfannschmidt/requests into develop
Kenneth Reitz [Thu, 19 Jan 2012 02:05:56 +0000 (21:05 -0500)]
Merge branch 'streaming' of https://github.com/RonnyPfannschmidt/requests into develop

13 years agoMerge pull request #363 from gazpachoking/develop
Kenneth Reitz [Thu, 19 Jan 2012 01:19:43 +0000 (17:19 -0800)]
Merge pull request #363 from gazpachoking/develop

Stop always verifying certs for same host that has verified once.

13 years agoAdd myself to AUTHORS
Chase Sterling [Thu, 19 Jan 2012 00:51:10 +0000 (19:51 -0500)]
Add myself to AUTHORS

13 years agoMake sure verify=False is respected for session even when there has already been...
Chase Sterling [Thu, 19 Jan 2012 00:43:24 +0000 (19:43 -0500)]
Make sure verify=False is respected for session even when there has already been a verified request to the same host.
Update tests to expose the (fixed) problem.

13 years agoSOPA
Kenneth Reitz [Wed, 18 Jan 2012 16:14:32 +0000 (11:14 -0500)]
SOPA

13 years agoMerge pull request #360 from mastahyeti/develop
Kenneth Reitz [Tue, 17 Jan 2012 21:32:04 +0000 (13:32 -0800)]
Merge pull request #360 from mastahyeti/develop

Make requests.async.send asynchronous

13 years agoThe async.send method wasn't really doing anything useful. It was just calling the...
Ben [Tue, 17 Jan 2012 21:21:09 +0000 (15:21 -0600)]
The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed.

13 years agoThe async.send method wasn't really doing anything useful. It was just calling the...
Ben [Tue, 17 Jan 2012 21:20:52 +0000 (15:20 -0600)]
The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed.

13 years agoThe async.send method wasn't really doing anything useful. It was just calling the...
Ben [Tue, 17 Jan 2012 21:17:38 +0000 (15:17 -0600)]
The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed.

13 years agoclose the chunked fd at the end and honor content chunksizes for a potential first...
Ronny Pfannschmidt [Tue, 17 Jan 2012 17:14:47 +0000 (18:14 +0100)]
close the chunked fd at the end and honor content chunksizes for a potential first chunk

13 years agoAllow mixing sessions and async.
Hank Gay [Tue, 17 Jan 2012 16:24:50 +0000 (11:24 -0500)]
Allow mixing sessions and async.

13 years agoremove debug print
Ronny Pfannschmidt [Tue, 17 Jan 2012 16:39:37 +0000 (17:39 +0100)]
remove debug print

13 years agoeven more evil, fixes my misstakes with chunked reading
Ronny Pfannschmidt [Tue, 17 Jan 2012 16:38:52 +0000 (17:38 +0100)]
even more evil, fixes my misstakes with chunked reading

13 years agoinsanity for chunked iteration
Ronny Pfannschmidt [Tue, 17 Jan 2012 12:16:09 +0000 (13:16 +0100)]
insanity for chunked iteration

13 years agomake Response.iter_lines yield the pending buffer if its actually a complete line
Ronny Pfannschmidt [Tue, 17 Jan 2012 11:47:22 +0000 (12:47 +0100)]
make Response.iter_lines yield the pending buffer if its actually a complete line

13 years ago+1
Kenneth Reitz [Sun, 15 Jan 2012 21:39:46 +0000 (16:39 -0500)]
+1

13 years agoUpdate AUTHORS.rst
Kenneth Reitz [Fri, 13 Jan 2012 22:38:28 +0000 (17:38 -0500)]
Update AUTHORS.rst

13 years agoMerge pull request #355 from fkumro/develop
Kenneth Reitz [Fri, 13 Jan 2012 22:38:09 +0000 (14:38 -0800)]
Merge pull request #355 from fkumro/develop

Added prefetch documentation for api

13 years agoAdded prefetch documentation for api
Frank Kumro [Fri, 13 Jan 2012 03:16:31 +0000 (22:16 -0500)]
Added prefetch documentation for api

13 years agoTom Moertel
Kenneth Reitz [Thu, 12 Jan 2012 20:53:45 +0000 (12:53 -0800)]
Tom Moertel

13 years agoMerge pull request #352 from tmoertel/develop
Kenneth Reitz [Thu, 12 Jan 2012 20:52:02 +0000 (12:52 -0800)]
Merge pull request #352 from tmoertel/develop

Fix bug in HTTP-digest auth w/ URI having query string

13 years agoFix bug in HTTP-digest auth w/ URI having query string
Tom Moertel [Tue, 10 Jan 2012 23:09:49 +0000 (18:09 -0500)]
Fix bug in HTTP-digest auth w/ URI having query string

13 years agoMerge pull request #344 from sharat87/patch-1
Kenneth Reitz [Tue, 10 Jan 2012 19:11:01 +0000 (11:11 -0800)]
Merge pull request #344 from sharat87/patch-1

Do not pass over the `session` argument to `Session.request` method

13 years agoMerge pull request #348 from LucianU/develop
Kenneth Reitz [Tue, 10 Jan 2012 19:10:02 +0000 (11:10 -0800)]
Merge pull request #348 from LucianU/develop

Fixed code in 'Event Hooks' section

13 years agoUpdate AUTHORS.rst
Kenneth Reitz [Tue, 10 Jan 2012 19:09:09 +0000 (11:09 -0800)]
Update AUTHORS.rst

13 years agoMerge pull request #347 from LucianU/patch-1
Kenneth Reitz [Tue, 10 Jan 2012 19:08:53 +0000 (11:08 -0800)]
Merge pull request #347 from LucianU/patch-1

Printing the entire traceback, instead of just a warning, when an except...

13 years agoMerge pull request #350 from piotr-dobrogost/develop
Kenneth Reitz [Tue, 10 Jan 2012 19:07:45 +0000 (11:07 -0800)]
Merge pull request #350 from piotr-dobrogost/develop

fixes issue #349

13 years agofixes issue #349
Piotr Dobrogost [Tue, 10 Jan 2012 15:47:21 +0000 (16:47 +0100)]
fixes issue #349

13 years agoFixed code in 'Event Hooks' section
Lucian Ursu [Tue, 10 Jan 2012 10:17:57 +0000 (12:17 +0200)]
Fixed code in 'Event Hooks' section

13 years agoPrinting the entire traceback, instead of just a warning, when an exception is encoun...
Lucian Ursu [Tue, 10 Jan 2012 10:10:58 +0000 (12:10 +0200)]
Printing the entire traceback, instead of just a warning, when an exception is encountered

13 years agoThe `request` method of `Session` class does not take a `session` argument. But ...
Shrikant Sharat Kandula [Mon, 9 Jan 2012 05:46:54 +0000 (11:16 +0530)]
The `request` method of `Session` class does not take a `session` argument. But `api.request` does. So, it has to be popped before you can send the whole `kwargs` dict to `Session.request` method.

13 years agoUpdate docs/index.rst
Kenneth Reitz [Sat, 7 Jan 2012 23:32:56 +0000 (18:32 -0500)]
Update docs/index.rst

13 years agoMerge pull request #343 from shazow/urllib3-attribution
Kenneth Reitz [Sat, 7 Jan 2012 23:28:17 +0000 (15:28 -0800)]
Merge pull request #343 from shazow/urllib3-attribution

urllib3 attribution in docs

13 years agoMerge branch 'develop' of https://github.com/kennethreitz/requests into urllib3-attri...
Andrey Petrov [Sat, 7 Jan 2012 23:19:02 +0000 (15:19 -0800)]
Merge branch 'develop' of https://github.com/kennethreitz/requests into urllib3-attribution

13 years agoRewriting history for correctness.
Andrey Petrov [Sat, 7 Jan 2012 23:17:14 +0000 (15:17 -0800)]
Rewriting history for correctness.

13 years agoAdding a humble mention of urllib3 to the Requests intros.
Andrey Petrov [Sat, 7 Jan 2012 23:17:06 +0000 (15:17 -0800)]
Adding a humble mention of urllib3 to the Requests intros.

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 7 Jan 2012 22:18:53 +0000 (17:18 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agourllib3 update
Kenneth Reitz [Sat, 7 Jan 2012 22:18:49 +0000 (17:18 -0500)]
urllib3 update

13 years agoUpdate docs/user/advanced.rst
Kenneth Reitz [Sat, 7 Jan 2012 18:44:09 +0000 (13:44 -0500)]
Update docs/user/advanced.rst

13 years agoMerge pull request #342 from bjedwards/patch-1
Kenneth Reitz [Fri, 6 Jan 2012 20:53:56 +0000 (12:53 -0800)]
Merge pull request #342 from bjedwards/patch-1

Fix syntax error in last commit.

13 years agoFix syntax error in last commit.
Ben Edwards [Fri, 6 Jan 2012 20:52:49 +0000 (13:52 -0700)]
Fix syntax error in last commit.

13 years ago@ojii
Kenneth Reitz [Fri, 6 Jan 2012 16:36:04 +0000 (11:36 -0500)]
@ojii

13 years agoMerge pull request #341 from ojii/patch-1
Kenneth Reitz [Fri, 6 Jan 2012 16:20:49 +0000 (08:20 -0800)]
Merge pull request #341 from ojii/patch-1

Give a more useful error message when the URL supplied does not contain ...

13 years agoGive a more useful error message when the URL supplied does not contain a schema.
Jonas Obrist [Fri, 6 Jan 2012 15:20:33 +0000 (16:20 +0100)]
Give a more useful error message when the URL supplied does not contain a schema.

13 years agov0.9.1 v0.9.1
Kenneth Reitz [Fri, 6 Jan 2012 06:10:53 +0000 (01:10 -0500)]
v0.9.1

13 years agoMerge branch 'develop' of https://github.com/gazpachoking/requests into develop
Kenneth Reitz [Fri, 6 Jan 2012 06:08:06 +0000 (01:08 -0500)]
Merge branch 'develop' of https://github.com/gazpachoking/requests into develop

13 years agoMerge pull request #333 from bryanhelmig/develop
Kenneth Reitz [Fri, 6 Jan 2012 06:04:11 +0000 (22:04 -0800)]
Merge pull request #333 from bryanhelmig/develop

Add eager mode for raising errors immediately.

13 years agomention of error modes in quickstart
Bryan Helmig [Thu, 5 Jan 2012 20:11:19 +0000 (14:11 -0600)]
mention of error modes in quickstart

13 years agohighway to the danger_mode
Bryan Helmig [Thu, 5 Jan 2012 18:50:44 +0000 (12:50 -0600)]
highway to the danger_mode

13 years agoadd eager mode for raising errors immediately
Bryan Helmig [Thu, 5 Jan 2012 04:08:01 +0000 (22:08 -0600)]
add eager mode for raising errors immediately

13 years agoUpdate README.rst
Kenneth Reitz [Tue, 3 Jan 2012 15:21:13 +0000 (10:21 -0500)]
Update README.rst

13 years agoMake sure newlines at chunk borders do not get dropped using iter_lines.
Chase Sterling [Tue, 3 Jan 2012 05:38:59 +0000 (00:38 -0500)]
Make sure newlines at chunk borders do not get dropped using iter_lines.

13 years agoRefactor r.iter_lines to retrieve more than one byte at a time.
Chase Sterling [Mon, 2 Jan 2012 21:19:35 +0000 (16:19 -0500)]
Refactor r.iter_lines to retrieve more than one byte at a time.
Fixes universal line ending handling, but takes away ability to specyfy
custom line endings.

13 years agoUpdate docs/user/install.rst
Kenneth Reitz [Mon, 2 Jan 2012 07:50:09 +0000 (02:50 -0500)]
Update docs/user/install.rst

13 years ago:sparkles: 2012 :sparkles:
Kenneth Reitz [Sun, 1 Jan 2012 05:44:20 +0000 (00:44 -0500)]
:sparkles: 2012 :sparkles:

13 years agoRefactor stream_decode_gzip and _deflate into one function, stream_decompress.
Chase Sterling [Sat, 31 Dec 2011 03:18:08 +0000 (22:18 -0500)]
Refactor stream_decode_gzip and _deflate into one function, stream_decompress.
stream_decompress will now iterate over the raw data if there is a problem with decompression
Remove gzip decoding from Response.content, as urllib3 was doing it anyway.

13 years agoImplement automatic deflating when using response.iter_content. refs #327
Chase Sterling [Fri, 30 Dec 2011 23:55:56 +0000 (18:55 -0500)]
Implement automatic deflating when using response.iter_content. refs #327
Refactor response.iter_lines to use responset.iter_content.

13 years agoch ch changes v0.9.0
Kenneth Reitz [Wed, 28 Dec 2011 09:49:51 +0000 (04:49 -0500)]
ch ch changes

13 years agov0.9.0 history
Kenneth Reitz [Wed, 28 Dec 2011 09:48:57 +0000 (04:48 -0500)]
v0.9.0 history

13 years agomake it true
Kenneth Reitz [Wed, 28 Dec 2011 09:48:27 +0000 (04:48 -0500)]
make it true

13 years agopackaging v0.8.9
Kenneth Reitz [Wed, 28 Dec 2011 09:38:38 +0000 (04:38 -0500)]
packaging

13 years agov0.8.9
Kenneth Reitz [Wed, 28 Dec 2011 09:26:23 +0000 (04:26 -0500)]
v0.8.9

13 years agossl hostname
Kenneth Reitz [Wed, 28 Dec 2011 09:25:43 +0000 (04:25 -0500)]
ssl hostname

13 years agoengrish
Kenneth Reitz [Wed, 28 Dec 2011 08:58:08 +0000 (03:58 -0500)]
engrish

13 years agocertifi v0.0.4 v0.8.8
Kenneth Reitz [Wed, 28 Dec 2011 08:51:41 +0000 (03:51 -0500)]
certifi v0.0.4

13 years agocertifi v0.0.2
Kenneth Reitz [Wed, 28 Dec 2011 08:30:33 +0000 (03:30 -0500)]
certifi v0.0.2

13 years agossl docs
Kenneth Reitz [Wed, 28 Dec 2011 08:18:40 +0000 (03:18 -0500)]
ssl docs

13 years agov0.8.8 release
Kenneth Reitz [Wed, 28 Dec 2011 08:01:36 +0000 (03:01 -0500)]
v0.8.8 release

13 years agoexternal tests
Kenneth Reitz [Wed, 28 Dec 2011 08:01:00 +0000 (03:01 -0500)]
external tests

13 years agov0.8.8!
Kenneth Reitz [Wed, 28 Dec 2011 08:00:53 +0000 (03:00 -0500)]
v0.8.8!

13 years agoonly use session verify when not modified
Kenneth Reitz [Wed, 28 Dec 2011 07:57:36 +0000 (02:57 -0500)]
only use session verify when not modified

13 years agomore info
Kenneth Reitz [Wed, 28 Dec 2011 07:51:49 +0000 (02:51 -0500)]
more info

13 years agoverification support in sessions
Kenneth Reitz [Wed, 28 Dec 2011 07:51:42 +0000 (02:51 -0500)]
verification support in sessions

13 years agoSSL support!
Kenneth Reitz [Wed, 28 Dec 2011 07:43:13 +0000 (02:43 -0500)]
SSL support!

13 years agonew SSLError
Kenneth Reitz [Wed, 28 Dec 2011 07:43:03 +0000 (02:43 -0500)]
new SSLError

13 years agoapi cleanup
Kenneth Reitz [Wed, 28 Dec 2011 07:42:57 +0000 (02:42 -0500)]
api cleanup

13 years agosimplify api.request
Kenneth Reitz [Wed, 28 Dec 2011 06:51:26 +0000 (01:51 -0500)]
simplify api.request

13 years agocertifi
Kenneth Reitz [Wed, 28 Dec 2011 06:28:49 +0000 (01:28 -0500)]
certifi

13 years agourllib3 update
Kenneth Reitz [Wed, 28 Dec 2011 04:14:54 +0000 (23:14 -0500)]
urllib3 update

13 years agoMerge branch 'develop'
Kenneth Reitz [Sat, 24 Dec 2011 08:16:54 +0000 (03:16 -0500)]
Merge branch 'develop'

13 years agov0.8.7 v0.8.7
Kenneth Reitz [Sat, 24 Dec 2011 08:16:40 +0000 (03:16 -0500)]
v0.8.7

13 years agoforce safe mode for async
Kenneth Reitz [Sat, 24 Dec 2011 08:06:13 +0000 (03:06 -0500)]
force safe mode for async

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 23 Dec 2011 22:24:34 +0000 (17:24 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agoMake safe_mode handle exceptions more consistently
Ori Livneh [Fri, 23 Dec 2011 21:14:46 +0000 (16:14 -0500)]
Make safe_mode handle exceptions more consistently

13 years agoUpdate docs/index.rst
Kenneth Reitz [Fri, 23 Dec 2011 04:09:27 +0000 (23:09 -0500)]
Update docs/index.rst

13 years agofix iteration on null responses in safe_mode
Ori Livneh [Fri, 23 Dec 2011 02:10:43 +0000 (21:10 -0500)]
fix iteration on null responses in safe_mode

13 years agoUndo stupid change to while loop
Ori Livneh [Thu, 22 Dec 2011 22:51:22 +0000 (17:51 -0500)]
Undo stupid change to while loop

13 years agoRevert "Revert "Make safe_mode play nice with timeout (fixes #312)""
Ori Livneh [Thu, 22 Dec 2011 22:50:43 +0000 (17:50 -0500)]
Revert "Revert "Make safe_mode play nice with timeout (fixes #312)""

This reverts commit 91766548d10cd5ebf46aba376f9e000263285875.

13 years agoRevert "Make safe_mode play nice with timeout (fixes #312)"
Ori Livneh [Thu, 22 Dec 2011 22:36:09 +0000 (17:36 -0500)]
Revert "Make safe_mode play nice with timeout (fixes #312)"

This reverts commit 805c4db55413c96c5d6e0f95560119c000f660c9.

13 years agoMake safe_mode play nice with timeout (fixes #312)
Ori Livneh [Thu, 22 Dec 2011 21:52:29 +0000 (16:52 -0500)]
Make safe_mode play nice with timeout (fixes #312)

13 years ago1 instead of True
Kenneth Reitz [Thu, 22 Dec 2011 16:55:55 +0000 (11:55 -0500)]
1 instead of True

#313

13 years agoMerge branch 'develop' of https://github.com/atdt/requests into develop
Kenneth Reitz [Thu, 22 Dec 2011 16:55:13 +0000 (11:55 -0500)]
Merge branch 'develop' of https://github.com/atdt/requests into develop

Conflicts:
AUTHORS.rst

13 years agoAUTHORS += 'Ori Livneh'
Kenneth Reitz [Thu, 22 Dec 2011 16:54:07 +0000 (11:54 -0500)]
AUTHORS += 'Ori Livneh'

#313

13 years agofix bug that causes iter_lines to truncate content
Ori Livneh [Tue, 20 Dec 2011 07:01:37 +0000 (02:01 -0500)]
fix bug that causes iter_lines to truncate content

Currently, if the response does not terminate with a newline, iter_lines
truncates the trailing remainder.

13 years agoUpdate AUTHORS.rst
Kenneth Reitz [Mon, 19 Dec 2011 17:25:59 +0000 (12:25 -0500)]
Update AUTHORS.rst