Skip to content
Myr

Add test for non-urlencoded post data

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Johannes Gorset · committed by Johannes Gorset · parent 21e2d0c · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:test_requests.py+3 added
162 unmodified lines
163 self.assertRaises(urllib2.URLError, requests.get, 'http://google.com')164 165 with requests.settings(timeout=10):166 requests.get('http://google.com')167 168 def test_nonurlencoded_post_data(self):169 requests.post('http://google.com', data='foo')170 171172173if __name__ == '__main__':
1 unmodified line