Perl: added processing for IO:Handle-like object.

The application can return the body as an IO:Handle-like object
without file descriptor.
This commit is contained in:
Alexander Borisov
2019-02-27 17:27:41 +03:00
parent 5c9fe8c306
commit 379e4c75fd
2 changed files with 109 additions and 4 deletions

View File

@@ -185,7 +185,6 @@ class TestUnitPerlApplication(unit.TestUnitApplicationPerl):
self.assertEqual(resp['body'], '0123456789', 'keep-alive 2')
@unittest.expectedFailure
def test_perl_body_io_fake(self):
self.load('body_io_fake')