Commit Graph

60 Commits

Author SHA1 Message Date
Shivaram Lingamneni 9bf53676b8 fix crash in safe mode when response.cookies is None 2012-05-03 01:29:12 -07:00
Shivaram Lingamneni 4d6871d917 Further changes to move cookies to CookieJar 2012-05-01 17:00:19 -07:00
miguel c4ab96b638 mostly complete cookie support based on cookiejar 2012-05-01 17:00:19 -07:00
Idan Gazit 632d9893b0 Improve docstring description of auth parameter 2012-05-01 06:20:52 -04:00
Roman Haritonov d569a2d6bc fix #549 Add 'prefetch' to Session.__attrs__ and Requests.__init__ 2012-04-13 19:25:10 +04:00
Kenneth Reitz dacc1d8aaf default to true for redirects now, since safe 2012-03-30 23:42:04 -04:00
Ian Danforth 44277441d6 Sphinx throws an error if you don't escape ** in **kwargs 2012-03-18 18:11:15 -07:00
Kenneth Reitz 093709be4d Merge branch 'develop' of https://github.com/chadnickbok/requests into develop 2012-03-14 20:27:07 -04:00
chadnickbok@gmail.com fc618aa78a Updated Requests api to accept a 'cert' argument.
This argument can be either a string, containing the path to a
pem-formatted key and certificate chain, or a tuple of (cert, key).

When supplied a tuple, the values are paths to an SSL certificate
chain file and key, respectively.
2012-03-14 17:15:29 -07:00
chadnickbok@gmail.com 82e69de44f Exposed key_file and cert_file in requests, to support https client certificates. 2012-03-14 15:57:30 -07:00
Kenneth Reitz 29309201b6 remove cruft 2012-03-13 16:44:45 -07:00
Kenneth Reitz 0dd6c40205 dict sequence 2012-03-13 16:42:16 -07:00
Kenneth Reitz 84d9a1b577 dict_to_sequence 2012-03-13 16:39:51 -07:00
Brendan Maguire ca45da39fa Removed prefetch from args. 2012-02-28 20:16:01 +00:00
Brendan Maguire 97815c9930 Prefetch for sessions 2012-02-28 20:02:21 +00:00
Kenneth Reitz 2f33679cb3 spacing 2012-02-20 15:35:02 -05:00
Kenneth Reitz 709828204a HEADs don't follow redirects by default. 2012-02-20 13:56:11 -05:00
Shrikant Sharat 590ce29743 Implemented #439. Added supporting test. 2012-02-19 15:11:19 +05:30
Kenneth Reitz b0e2e4f284 blah 2012-01-23 00:15:25 -05:00
Kenneth Reitz 7fdb541e2d make it true 2011-12-28 04:48:27 -05:00
Kenneth Reitz 9fcfec18da ssl docs 2011-12-28 03:18:40 -05:00
Kenneth Reitz f7e67c01ea only use session verify when not modified 2011-12-28 02:57:36 -05:00
Kenneth Reitz 0a8bb2e1b3 verification support in sessions 2011-12-28 02:51:42 -05:00
Nick Hatch a6412b02ba Fix spelling errors, typos. 2011-12-11 01:58:55 -06: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 ec926a4958 test fix 2011-11-12 16:46:53 -05: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 f1e8700e9a consistiency 2011-11-12 12:51:30 -08:00
Kenneth Reitz 02408973c6 keep-alive as config option only
better defaults
2011-11-12 12:47:11 -08:00
Kenneth Reitz 220f687e6f Merge branch 'develop' of https://github.com/jbrendel/requests into develop
Conflicts:
	AUTHORS
	requests/__init__.py
2011-11-09 22:15:54 -08:00
Kenneth Reitz 0c4342a3a6 prefetching on all methods 2011-11-09 17:47:19 -08:00
Kenneth Reitz 5b73f2ea61 infos 2011-11-09 15:43:54 -08:00
Kenneth Reitz 358478eb88 Cookie persistence! 2011-11-09 14:57:38 -08:00
jbrendel 73ba48be2e Added support for OPTIONS method. 2011-11-08 12:31:18 +13:00
Kenneth Reitz b8c55da48d stuff and things and stuff 2011-10-27 01:08:51 -04:00
Kenneth Reitz 5b54b3e53f Merge branch 'develop' into feature/rewrite
Conflicts:
	requests/__init__.py
2011-10-27 00:57:03 -04:00
Kenneth Reitz 6ac1e02691 hooks fix #227 2011-10-26 18:35:01 -04:00
Kenneth Reitz 8b9f689ecc Merge branch 'develop' into feature/rewrite
Conflicts:
	requests/__init__.py
	requests/models.py
2011-10-24 10:09:36 -04:00
Kenneth Reitz 50c39fd95a poolmanager in sessions 2011-10-23 18:15:13 -04:00
Kenneth Reitz c108c5300f No mo' HttpError 2011-10-23 17:18:46 -04:00
Kenneth Reitz 84a2b35b71 Readme update. 2011-10-23 16:03:06 -04:00
Kenneth Reitz 58b1c69b6a Explain custom auth handlers 2011-10-23 15:13:34 -04:00
Kenneth Reitz 68b4830948 Add argument injection hook back 2011-10-23 14:47:15 -04:00
Kenneth Reitz af6aa3e572 Move hooks out of top-level loop 2011-10-23 12:26:41 -04:00
Kenneth Reitz 5c81fba1eb use config object in sessions 2011-10-22 20:26:12 -04:00
Kenneth Reitz 3d29f6535f kill wrapping of api methods 2011-10-22 19:27:08 -04:00
Kenneth Reitz 98dc08236c loose yourself 2011-10-22 18:18:39 -04:00
Kenneth Reitz 2b3bd78685 Add all methods to session 2011-10-22 18:15:28 -04:00
Kenneth Reitz d72d116214 Move request and get to session 2011-10-22 18:10:32 -04:00