Commit Graph

488 Commits

Author SHA1 Message Date
Johnny Goodnow 44b1e7ebea Remove default Content-Length from GET requests.
Fix #1051.
2013-01-24 21:13:32 -08:00
sprt ab2e7df8a9 Merge branch 'master' of git://github.com/kennethreitz/requests
Conflicts:
	test_requests.py
2013-01-24 18:36:53 +01:00
Scott Burns 2bcc4a774a Pass kwargs to json.loads
Not all JSON is created equally. This commit
addresses when users want to take control of the
json decode process.
2013-01-23 15:25:48 -06:00
Ian Cordasco 1cfe59299b Only call the hook once. 2013-01-23 11:51:37 -05:00
Ian Cordasco e771aa9386 Comment & replace something that keeps disappearing 2013-01-23 11:28:30 -05:00
sprt cc7bee19f0 Refactor prepare_hooks() 2013-01-23 15:45:44 +01:00
sprt c4ad8afba9 Merge remote-tracking branch 'upstream/master'
Conflicts:
	requests/sessions.py
2013-01-23 14:42:45 +01:00
Kenneth Reitz 30573b2d8b Merge pull request #1116 from Lukasa/master
Correct type of Content-Length headers.
2013-01-22 18:51:17 -08:00
Ian Cordasco ca85b4ec6c Tests pass this time. 2013-01-22 17:22:12 -05:00
Kenneth Reitz 3bf46609c8 Merge pull request #1097 from matthewlmcclure/issues/1096
Resolves the parts of #1096 in requests proper.
2013-01-22 05:11:14 -08:00
Cory Benfield 297aa04bea Decrease default line length for iter_lines 2013-01-21 21:15:04 +00:00
Cory Benfield 89c8cbbe0c Ensure Content-Length is a string. 2013-01-19 12:07:34 +00:00
sprt a721d590b4 Make hooks work with prepared requests 2013-01-12 21:46:44 +01:00
Matt McClure 628e393b9a Resolves the parts of #1096 in requests proper. 2013-01-11 15:04:47 -05:00
Kenneth Reitz 1a7c91f658 Merge remote-tracking branch 'origin/master' 2013-01-10 02:13:06 -05:00
Kenneth Reitz ef8563ab36 CHUNKED REQUESTS! 2013-01-10 01:58:29 -05:00
Vinod Chandru 20b10aed1b Allow for third argument in file dict value to support explicit
file content type.
2013-01-09 19:29:28 -08:00
Kenneth Reitz f0fe551dc9 thanks, @sigmavirus24 2012-12-23 01:45:49 -05:00
Kenneth Reitz f8e2d0e732 api docs 2012-12-23 01:44:54 -05:00
Kenneth Reitz 3ddcc99131 docs update 2012-12-23 01:40:07 -05:00
Kenneth Reitz 70faca2a14 docs, cleanup for preparedrequest 2012-12-23 01:25:01 -05:00
Kenneth Reitz 5f9fecd3aa prepared request docs 2012-12-23 01:21:02 -05:00
Kenneth Reitz 6e780fad6d remove unused timeout 2012-12-23 01:16:00 -05:00
Kenneth Reitz f8a59c3e6f request docstrings 2012-12-23 01:14:22 -05:00
michaelwheeler 0b42772663 Fixed typo in comment. 2012-12-20 15:38:04 -05:00
Ib Lundgren 05de270d7a Why auth must be prepared last 2012-12-19 21:30:11 +01:00
Ib Lundgren 7e594eb121 Swap prepare_auth and prepare_body 2012-12-19 21:04:50 +01:00
Ian Cordasco 68d394952a A bit of linting.
Mostly removed a whole bunch of unused imports.
2012-12-17 20:19:11 -05:00
Eric Scrivner 8c01865d62 Remove unicode encoding for HTTP method. 2012-12-17 12:39:15 -08:00
Kenneth Reitz c65a52a1d0 update 2012-12-17 08:36:58 -05:00
Kenneth Reitz 1451ba0c6d update docs 2012-12-17 08:33:18 -05:00
Kenneth Reitz 0569fe44d8 new tests! 2012-12-17 08:09:52 -05:00
Kenneth Reitz c3431bb6f2 tension 2012-12-17 07:01:59 -05:00
Kenneth Reitz bc34f33955 apparent_encoding 2012-12-17 06:35:10 -05:00
Kenneth Reitz 4c3b9df609 /s/prefetch/stream 2012-12-17 06:35:01 -05:00
Kenneth Reitz ca0d08eeda urlparse(url) 2012-12-17 06:25:03 -05:00
Kenneth Reitz a197309e21 generator rejection 2012-12-17 06:02:01 -05:00
Kenneth Reitz a776e7cb3e fix params support 2012-12-17 05:23:22 -05:00
Kenneth Reitz def20cdb0c remove iter_json, don't want to commit to it 2012-12-17 05:12:59 -05:00
Kenneth Reitz 4837900832 digest works!
added some nice backwards compatible stuff too
2012-12-17 04:55:58 -05:00
Kenneth Reitz 377078b0f5 hooks and things 2012-12-17 04:31:26 -05:00
Kenneth Reitz ee6c638e9c hmmm 2012-12-17 03:51:23 -05:00
Kenneth Reitz 98a7585fbd cleanup to url logic 2012-12-17 03:29:45 -05:00
Kenneth Reitz e4b56049ad from cookies import extract_cookies_to_jar 2012-12-17 03:21:50 -05:00
Kenneth Reitz 94e82e9cc2 murder the defaults 2012-12-17 03:09:07 -05:00
Kenneth Reitz 7fc9378895 iter_json
Closed #1015
2012-12-17 02:42:34 -05:00
Kenneth Reitz 0bee888f73 redirects work! 2012-12-17 02:21:22 -05:00
Kenneth Reitz 4a01272fb3 cleanup 2012-12-17 01:25:55 -05:00
Kenneth Reitz 42a206e5d3 better docstrings 2012-12-17 00:27:37 -05:00
Kenneth Reitz d15365bf4f remove useless attributes 2012-12-17 00:25:45 -05:00