def __init__(self, request, reader):
        transfer_encoding = request.get_request_header('Transfer-Encoding')
        if transfer_encoding is not None and transfer_encoding == 'chunked':
            assert False, 'chunked post not supported yet'

        content_length = request.get_request_header('Content-length')
        if content_length is None:
            self._channel = None
            self._n = None
            self._file = None        
        else:
            self._n = int(content_length)
            self._file = reader.file()
            self._channel = Channel()
dataset/ETHPy150Open concurrence/concurrence/lib/concurrence/http/server.py/WSGIInputStream.__init__/original