Commit Graph

492 Commits

Author SHA1 Message Date
Kenneth Reitz 356bf42373 v0.8.3 2011-11-27 10:06:39 -05:00
Kenneth Reitz a7a619ba5c Merge branch 'auth_callables' of https://github.com/idangazit/requests into develop
Conflicts:
	requests/models.py
2011-11-26 10:14:14 -05:00
Kenneth Reitz a5ff4be7b0 Merge pull request #283 from rgieseke/develop
Display full URL when logging.
2011-11-26 07:10:08 -08:00
Kenneth Reitz 52ac24120c Merge pull request #287 from sharat87/patch-2
Allow generators or any iterators for async.map
2011-11-26 07:09:37 -08:00
Shrikant Sharat a350ceffb9 Rename use_session to session. 2011-11-25 11:41:40 +05:30
Shrikant Sharat 5c72601599 Add use_session argument to request method.
This allows usage of an existing session to make a request with the
request and the get, post etc. function.
2011-11-25 08:32:07 +05:30
Shrikant Sharat Kandula 99b6e35940 Allow generators or any iterators for async.map 2011-11-25 07:45:12 +05:30
Robert Gieseke 8ae4b440e3 Display full URL when logging. 2011-11-20 10:14:51 +01:00
Idan Gazit 1933d3c707 Added support for HTTP Basic Auth credentials in 2-tuple 2011-11-19 23:59:27 +02:00
Kenneth Reitz 6421ec1784 iter_content uses new encoding system 2011-11-19 16:12:38 -05:00
Kenneth Reitz 296d8cc097 new (elegant) request decoding model.
Closes #282
2011-11-19 16:09:20 -05:00
Kenneth Reitz bbf1021156 import cleanup 2011-11-19 15:45:45 -05:00
Kenneth Reitz 8ffe17cb09 use monkey patched cookies 2011-11-19 15:43:46 -05:00
Kenneth Reitz e17155151b backup 2011-11-19 15:42:36 -05:00
Kenneth Reitz 1da54de5dc 2.5 fix 2011-11-19 15:19:56 -05:00
Kenneth Reitz 8693fc746f v0.8.2 2011-11-19 15:18:48 -05:00
Kenneth Reitz 5309ad005f cookies are oreos 2011-11-19 15:15:51 -05:00
Kenneth Reitz 43854067d4 oreos! 2011-11-19 15:15:30 -05:00
Kenneth Reitz 5a7fbbb00d kill all the monkeys 2011-11-19 13:04:10 -05:00
Kenneth Reitz 2a7223585e Merge pull request #280 from darkrho/58e018af136190a2c757b13bf9371cecc2d51273
Updated docs with an example of explicit filename in file uploads section
2011-11-18 21:26:08 -08:00
Rolando Espinoza La fuente 58e018af13 updated docs for last change in files argument to support explicit filename. 2011-11-18 18:45:10 -04:00
Rolando Espinoza La fuente c165255e98 use session's hooks as defaults for every requests. 2011-11-18 18:19:27 -04:00
Kenneth Reitz 16aa01420b Merge branch 'develop' of https://github.com/darkrho/requests into develop 2011-11-18 15:33:20 -05:00
Ryan Kelly 3900243297 Dont use requote_path when dealing with redirects.
This was breaking redirect locations with a query string, by quoting the
question-mark.  Since the path will be passed through requote_path on
the next request anyway, doing it here seems unnecessary.
2011-11-18 09:03:28 +11:00
Idan Gazit 7fdb09b766 Converted auth to use callable objects instead of tuples.
My attempt to address #275 on kennethreitz/requests.
2011-11-17 13:44:13 +02:00
Ryan Kelly f7fdfe8b9a Correct handling of URLs with quoted slashes. 2011-11-17 11:00:02 +11:00
Rolando Espinoza La fuente 89241c525e use ";" instead "\r\n" as separator for cookies as is better supported
in odd web servers.
2011-11-16 00:04:48 -04:00
Rolando Espinoza La fuente bf499a80de added support for explicit filenames in files parameter.
files = {
    "files[]": ("myfile", open("foo")),
}
2011-11-16 00:03:19 -04:00
Kenneth Reitz 6b129ec0c9 urllib3 fix 2011-11-15 10:01:37 -05:00
Kenneth Reitz b79dea97fd v0.8.1 2011-11-15 09:56:21 -05:00
Kenneth Reitz 4504953212 Only send URL path to servers
Closes #256
2011-11-15 09:52:42 -05:00
ben 7c66e6f267 fixed: 301 request does not use proxy. 2011-11-15 15:53:38 +08:00
ben 35b0c5e16e fixed proxy 2011-11-15 10:59:39 +08:00
Raymond Penners f0edd4a3e0 Pass along timeout when following redirects (closes #263) 2011-11-14 10:04:07 +01:00
Kenneth Reitz bcc48a9607 whatespace 2011-11-13 00:43:14 -05:00
Kenneth Reitz 3458e6a905 upstream urllib3 2011-11-13 00:38:08 -05:00
Kenneth Reitz 0086f97b65 Guess filename.
Closes #192
2011-11-13 00:36:22 -05:00
Kenneth Reitz 3462d9c87b trust built-in if its available 2011-11-12 16:49:08 -05:00
Kenneth Reitz 2584c48e8d python2.5 cookie support 2011-11-12 16:47:40 -05:00
Kenneth Reitz 0a4b7356ac rip 2.7.x collections out 2011-11-12 16:47:14 -05:00
Kenneth Reitz ec926a4958 test fix 2011-11-12 16:46:53 -05:00
Kenneth Reitz e84d84b5b8 use new collections MutableMutex 2011-11-12 16:39:18 -05:00
Kenneth Reitz cfc1a76381 no auto async 2011-11-12 13:14:51 -08:00
Kenneth Reitz 6730818ddc explicit 2011-11-12 13:14:42 -08:00
Kenneth Reitz 7ee2b79127 import async if it's available 2011-11-12 13:08:17 -08:00
Kenneth Reitz 3fccf63f49 stylee 2011-11-12 12:58:46 -08:00
Kenneth Reitz 6a23625c11 give Request session reference for parameter+redirects 2011-11-12 12:57:32 -08:00
Kenneth Reitz 474e17b0af remove bunk __all__s 2011-11-12 12:53:23 -08:00
Kenneth Reitz f1e8700e9a consistiency 2011-11-12 12:51:30 -08:00
Kenneth Reitz c05c64d21b better defaults 2011-11-12 12:48:45 -08:00