Skip to content
Myr

Removed test of chunked encoding

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

authored by Cory Benfield · committed by Cory Benfield · parent e67cd15 · Browse files · 1 file+0 added−7 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+0 added−7 removed

  • other:+0 added−7 removed

1 file+0 added−7 removed

modified:test_requests.py-7 removed
1131 unmodified lines
11321133 next(r.iter_lines())1134 assert len(list(r.iter_lines())) == 311351136 def test_chunked_upload(self, httpbin):1137 """Can safely send generators."""1138 data = (c for c in 'abc')1139 r = requests.post(httpbin('post'), data=data, stream=True)1140 assert r.status_code == 2001141 assert r.request.headers['Transfer-Encoding'] == 'chunked'113611431137class TestContentEncodingDetection(unittest.TestCase):11381139 def test_none(self):1140 encodings = requests.utils.get_encodings_from_content('')
592 unmodified lines