services/python-requests.git
12 years agoBeautiful history.
Kenneth Reitz [Sun, 22 Jan 2012 04:03:07 +0000 (23:03 -0500)]
Beautiful history.

12 years agowhitespace
Kenneth Reitz [Sun, 22 Jan 2012 04:00:28 +0000 (23:00 -0500)]
whitespace

12 years agocleanup
Kenneth Reitz [Sun, 22 Jan 2012 03:59:57 +0000 (22:59 -0500)]
cleanup

12 years agotypo
Kenneth Reitz [Sun, 22 Jan 2012 03:58:38 +0000 (22:58 -0500)]
typo

Signed-off-by: Kenneth Reitz <me@kennethreitz.com>
12 years agosimpler
Kenneth Reitz [Sun, 22 Jan 2012 03:57:24 +0000 (22:57 -0500)]
simpler

12 years agodon't double decode
Kenneth Reitz [Sun, 22 Jan 2012 03:56:53 +0000 (22:56 -0500)]
don't double decode

12 years agoUse chardet for detection when no encoding is provided.
Kenneth Reitz [Sun, 22 Jan 2012 03:55:41 +0000 (22:55 -0500)]
Use chardet for detection when no encoding is provided.

12 years agochardet
Kenneth Reitz [Sun, 22 Jan 2012 03:35:19 +0000 (22:35 -0500)]
chardet

12 years agochardet
Kenneth Reitz [Sun, 22 Jan 2012 03:35:11 +0000 (22:35 -0500)]
chardet

12 years agobuild number
Kenneth Reitz [Sun, 22 Jan 2012 01:00:12 +0000 (20:00 -0500)]
build number

12 years agov0.10.0
Kenneth Reitz [Sun, 22 Jan 2012 00:58:51 +0000 (19:58 -0500)]
v0.10.0

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 21 Jan 2012 22:48:55 +0000 (17:48 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agoNo encoding? r.text is None.
Kenneth Reitz [Sat, 21 Jan 2012 22:48:51 +0000 (17:48 -0500)]
No encoding? r.text is None.

12 years agoMerge pull request #370 from piotr-dobrogost/develop
Kenneth Reitz [Sat, 21 Jan 2012 13:13:15 +0000 (05:13 -0800)]
Merge pull request #370 from piotr-dobrogost/develop

tiny map() refactoring

12 years agohistory
Kenneth Reitz [Sat, 21 Jan 2012 12:47:46 +0000 (07:47 -0500)]
history

12 years agoMerge branch 'redsea' into develop
Kenneth Reitz [Sat, 21 Jan 2012 12:17:30 +0000 (07:17 -0500)]
Merge branch 'redsea' into develop

12 years agohistory
Kenneth Reitz [Sat, 21 Jan 2012 12:17:23 +0000 (07:17 -0500)]
history

12 years agomove digest to new register_hook
Kenneth Reitz [Sat, 21 Jan 2012 12:14:26 +0000 (07:14 -0500)]
move digest to new register_hook

#372

12 years agoProvide new register_hook system.
Kenneth Reitz [Sat, 21 Jan 2012 12:13:58 +0000 (07:13 -0500)]
Provide new register_hook system.

#372

12 years agomake list of HOOKS available
Kenneth Reitz [Sat, 21 Jan 2012 12:07:18 +0000 (07:07 -0500)]
make list of HOOKS available

12 years agoMerge branch 'develop' of https://github.com/jgorset/requests into redsea
Kenneth Reitz [Sat, 21 Jan 2012 11:36:06 +0000 (06:36 -0500)]
Merge branch 'develop' of https://github.com/jgorset/requests into redsea

12 years agoFacilitate for multiple hooks
Johannes Gorset [Sat, 21 Jan 2012 11:05:59 +0000 (12:05 +0100)]
Facilitate for multiple hooks

12 years agoDefault the encoding of "text" media subtypes to "ISO-8859-1"
Johannes Gorset [Sat, 21 Jan 2012 10:01:45 +0000 (11:01 +0100)]
Default the encoding of "text" media subtypes to "ISO-8859-1"

Ref. RFC2616 (HyperText Transfer Protocol), section 3.7.1 (Canonicalization and Text Defaults).

12 years agocleanup docs for request defaults
Kenneth Reitz [Sat, 21 Jan 2012 06:44:53 +0000 (01:44 -0500)]
cleanup docs for request defaults

12 years agoremove is_error
Kenneth Reitz [Sat, 21 Jan 2012 06:31:23 +0000 (01:31 -0500)]
remove is_error

12 years agoonly try to decode if self.encoding is set
Kenneth Reitz [Sat, 21 Jan 2012 06:28:26 +0000 (01:28 -0500)]
only try to decode if self.encoding is set

12 years agoNew bytes/unicode separation.
Kenneth Reitz [Sat, 21 Jan 2012 06:24:21 +0000 (01:24 -0500)]
New bytes/unicode separation.

Response.content for bytes.
New Response.text for unicode.

12 years agokill decode_unicode config
Kenneth Reitz [Sat, 21 Jan 2012 06:23:35 +0000 (01:23 -0500)]
kill decode_unicode config

12 years agotiny map() refactoring
Piotr Dobrogost [Fri, 20 Jan 2012 20:42:25 +0000 (21:42 +0100)]
tiny map() refactoring

12 years agoUpdate docs/dev/todo.rst
Kenneth Reitz [Thu, 19 Jan 2012 23:43:43 +0000 (18:43 -0500)]
Update docs/dev/todo.rst

12 years agoMerge pull request #366 from jgorset/how-to-help
Kenneth Reitz [Thu, 19 Jan 2012 23:42:55 +0000 (15:42 -0800)]
Merge pull request #366 from jgorset/how-to-help

Elaborate on how to help

12 years agoMerge pull request #368 from jgorset/unicode-response-url
Kenneth Reitz [Thu, 19 Jan 2012 23:42:27 +0000 (15:42 -0800)]
Merge pull request #368 from jgorset/unicode-response-url

Decode response URL to a unicode string.

12 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

12 years agoElaborate on how to help
Johannes Gorset [Thu, 19 Jan 2012 23:09:30 +0000 (00:09 +0100)]
Elaborate on how to help

12 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.

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

12 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

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

12 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

12 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.

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

12 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.

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

12 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

12 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.

12 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.

12 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.

12 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

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

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

12 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

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

12 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

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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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...

12 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

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

12 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

12 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

12 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.

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

12 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

12 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

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

12 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.

12 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

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

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

12 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.

12 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.

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

12 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 ...

12 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.

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

12 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

12 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.

12 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

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

12 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

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

12 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.

12 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.

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

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

12 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.

12 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.

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

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

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

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

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