mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Add test for non-urlencoded post data
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user