mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Removed test of chunked encoding
This commit is contained in:
@@ -1133,13 +1133,6 @@ class TestRequests(object):
|
||||
next(r.iter_lines())
|
||||
assert len(list(r.iter_lines())) == 3
|
||||
|
||||
def test_chunked_upload(self, httpbin):
|
||||
"""Can safely send generators."""
|
||||
data = (c for c in 'abc')
|
||||
r = requests.post(httpbin('post'), data=data, stream=True)
|
||||
assert r.status_code == 200
|
||||
assert r.request.headers['Transfer-Encoding'] == 'chunked'
|
||||
|
||||
|
||||
class TestContentEncodingDetection(unittest.TestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user