Commit Graph

114 Commits

Author SHA1 Message Date
Jakub Wieczorek 228c5e68ae Considerably simplify and fix the iter_lines() function
1. Do not use rstrip() as this would also throw away meaningful whitespaces
2. Avoid assuming what striplines() considers a line break terminator,
   the list of those is quite long in Unicode.
3. Add tests for the above edge cases.
2012-03-05 18:39:55 +01:00
Kenneth Reitz d974b46dbe simplify httpbin stuff 2012-02-25 21:57:30 -05:00
Kenneth Reitz ea1d5f3648 Fix content-length: 0
#454
2012-02-24 18:42:33 -05:00
Kenneth Reitz b355b678a9 danger_mode redirect test 2012-02-20 13:51:46 -05:00
Kenneth Reitz 80fe5dc147 none headers test
#433
2012-02-20 12:31:52 -05:00
Kenneth Reitz d806ffc1cd test cleanups 2012-02-20 12:30:22 -05:00
Kenneth Reitz 5f834715d0 Merge branch 'issue_380' of https://github.com/Lukasa/requests into develop 2012-02-20 12:11:31 -05:00
Kenneth Reitz fdbb53db19 __file__ 2012-02-20 12:06:59 -05:00
Shrikant Sharat 590ce29743 Implemented #439. Added supporting test. 2012-02-19 15:11:19 +05:30
Cory Benfield 544ebf402f Correct unfortunate typo. 2012-02-16 20:42:05 +00:00
Cory Benfield 640538adcb Fail if unsupported schemas are used.
requests only supports http and https. This change enforces that.
2012-02-16 20:20:20 +00:00
Cory Benfield 1ded0ad3d5 Remove a wayward change. 2012-02-16 19:32:20 +00:00
Cory Benfield d339b0f64f Added failing test for issue #380. 2012-02-16 18:21:32 +00:00
Kenneth Reitz 0b9a2a1581 move tests over 2012-02-15 02:52:32 -05:00