Tests: parsing of "Transfer-Encoding: chunked" responses.

This commit is contained in:
Tiago Natel
2019-11-26 15:58:25 +00:00
parent 4eecf1cb6a
commit 01103c5005
6 changed files with 71 additions and 23 deletions

View File

@@ -157,7 +157,7 @@ class TestPerlApplication(TestApplicationPerl):
def test_perl_application_body_empty(self):
self.load('body_empty')
self.assertEqual(self.get()['body'], '0\r\n\r\n', 'body empty')
self.assertEqual(self.get()['body'], '', 'body empty')
def test_perl_application_body_array(self):
self.load('body_array')