Commit Graph

601 Commits

Author SHA1 Message Date
Kenneth Reitz 5ed62e1137 don't let that happen... 2012-01-23 02:19:56 -05:00
Kenneth Reitz f99a2534c9 v0.10.1 2012-01-23 02:18:26 -05:00
Kenneth Reitz e7bcc3b332 oh snap 2012-01-23 01:32:09 -05:00
Kenneth Reitz b001fcf968 SimpleCookie 2012-01-23 01:02:16 -05:00
Kenneth Reitz 125619c783 urllib3 update 2012-01-23 01:01:42 -05:00
Kenneth Reitz fe6882623c more stuff and things 2012-01-23 00:52:38 -05:00
Kenneth Reitz 11c4315da3 good 2012-01-23 00:43:01 -05:00
Kenneth Reitz 672e66ba5f compat 2012-01-23 00:34:31 -05:00
Kenneth Reitz 9cae98c167 blah 2012-01-23 00:25:48 -05:00
Kenneth Reitz b0e2e4f284 blah 2012-01-23 00:15:25 -05:00
Kenneth Reitz 2109afc144 further 2012-01-22 19:42:13 -05:00
Kenneth Reitz 786dfdd7e5 python3 version of urllib3 2012-01-22 15:06:58 -05:00
Kenneth Reitz 128b49a1fb whitespace 2012-01-21 23:00:28 -05:00
Kenneth Reitz 0dbda6665d cleanup 2012-01-21 22:59:57 -05:00
Kenneth Reitz 464279f48d typo
Signed-off-by: Kenneth Reitz <me@kennethreitz.com>
2012-01-21 22:58:38 -05:00
Kenneth Reitz b14a244ab4 simpler 2012-01-21 22:57:24 -05:00
Kenneth Reitz 2c7e920298 don't double decode 2012-01-21 22:56:53 -05:00
Kenneth Reitz b725bfd3fb Use chardet for detection when no encoding is provided. 2012-01-21 22:55:41 -05:00
Kenneth Reitz ada98899f8 build number 2012-01-21 20:00:12 -05:00
Kenneth Reitz 16a7a26452 v0.10.0 2012-01-21 19:58:51 -05:00
Kenneth Reitz 2c04f9d199 Merge remote-tracking branch 'origin/develop' into develop 2012-01-21 17:48:55 -05:00
Kenneth Reitz 70e98e47cf No encoding? r.text is None. 2012-01-21 17:48:51 -05:00
Kenneth Reitz b525dc29f7 Merge pull request #370 from piotr-dobrogost/develop
tiny map() refactoring
2012-01-21 05:13:15 -08:00
Kenneth Reitz 8e6f98f44e Merge branch 'redsea' into develop 2012-01-21 07:17:30 -05:00
Kenneth Reitz 5f44d79729 move digest to new register_hook
#372
2012-01-21 07:14:26 -05:00
Kenneth Reitz a3b26c7e5b Provide new register_hook system.
#372
2012-01-21 07:13:58 -05:00
Kenneth Reitz e9be7c1a58 make list of HOOKS available 2012-01-21 07:07:18 -05:00
Kenneth Reitz 6c359b2457 Merge branch 'develop' of https://github.com/jgorset/requests into redsea 2012-01-21 06:36:06 -05:00
Johannes Gorset 7647e52943 Facilitate for multiple hooks 2012-01-21 12:14:55 +01:00
Johannes Gorset a0ae2e6c7b Default the encoding of "text" media subtypes to "ISO-8859-1"
Ref. RFC2616 (HyperText Transfer Protocol), section 3.7.1 (Canonicalization and Text Defaults).
2012-01-21 11:01:45 +01:00
Kenneth Reitz efd2b57b92 cleanup docs for request defaults 2012-01-21 01:44:57 -05:00
Kenneth Reitz 47aba0cc20 remove is_error 2012-01-21 01:31:23 -05:00
Kenneth Reitz f5a2b75924 only try to decode if self.encoding is set 2012-01-21 01:28:26 -05:00
Kenneth Reitz 49a38ac89a New bytes/unicode separation.
Response.content for bytes.
New Response.text for unicode.
2012-01-21 01:24:21 -05:00
Kenneth Reitz 6d071f4331 kill decode_unicode config 2012-01-21 01:23:35 -05:00
Piotr Dobrogost 3873121c01 tiny map() refactoring 2012-01-20 21:42:25 +01:00
Johannes Gorset b37fbf30a3 Decode response URL to a unicode string.
Fixes #182
2012-01-20 00:34:44 +01:00
Kenneth Reitz 61a0e85672 Merge pull request #364 from gthank/8efb6cc870bd23de0d8d87708217d818236a733f
Allow sessions and async requests to mix.
2012-01-19 11:12:23 -08:00
Kenneth Reitz c18e6459a8 v0.9.3 2012-01-18 21:56:33 -05:00
Kenneth Reitz 6db255d17d Merge branch 'develop' of github.com:kennethreitz/requests into develop 2012-01-18 21:49:25 -05:00
Kenneth Reitz f3ba022f46 Merge branch 'streaming' of https://github.com/RonnyPfannschmidt/requests into develop 2012-01-18 21:05:56 -05:00
Chase Sterling d9cb18ad2a 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.
2012-01-18 19:49:22 -05:00
Ben e38046e6c6 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. 2012-01-17 15:21:09 -06:00
Ben 97be9ee4cd 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. 2012-01-17 15:20:52 -06:00
Ben c658b363e3 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. 2012-01-17 15:17:38 -06:00
Ronny Pfannschmidt 7f9cef0114 close the chunked fd at the end and honor content chunksizes for a potential first chunk 2012-01-17 18:14:47 +01:00
Hank Gay 8efb6cc870 Allow mixing sessions and async. 2012-01-17 11:44:59 -05:00
Ronny Pfannschmidt 1c8a141711 remove debug print 2012-01-17 17:39:37 +01:00
Ronny Pfannschmidt 4d38790b5b even more evil, fixes my misstakes with chunked reading 2012-01-17 17:38:52 +01:00
Ronny Pfannschmidt 5cfbb0aaf5 insanity for chunked iteration 2012-01-17 13:16:09 +01:00