From 637d0330c2e0ed96da4d2458847a3fc811aa4006 Mon Sep 17 00:00:00 2001 From: Johannes Gorset Date: Thu, 19 May 2011 10:14:15 +0200 Subject: [PATCH] Add test for non-urlencoded post data --- test_requests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_requests.py b/test_requests.py index 436b8bc..34c22bb 100755 --- a/test_requests.py +++ b/test_requests.py @@ -164,6 +164,9 @@ class RequestsTestSuite(unittest.TestCase): with requests.settings(timeout=10): requests.get('http://google.com') + + def test_nonurlencoded_post_data(self): + requests.post('http://google.com', data='foo') -- 2.7.4