def _get_raw_input(self):
        def _do_get_raw_input():
            def _convert_item(item):
                if isinstance(item, list):
                    return [_unicode(i.value) for i in item]
                if item.filename:
                    # convert to file:
                    return MultipartFile(item)
                # single value:
                return _unicode(item.value)
            fs = cgi.FieldStorage(fp=self._environ['wsgi.input'], environ=self._environ, keep_blank_values=True)
            form = dict()
            for key in fs:
                form[key] = _convert_item(fs[key])
            return form
        return self._fromcache('CACHED_INPUT', _do_get_raw_input)
return raw input as dict with key=field name, value=list or MultipartFile.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Request._get_raw_input