Hi everyone,
I convert my backend server from web2py to py4web and I need your help on one point that don't seem clear to me.
I need to download a local json file. But before that, I need to make some modifications in it. So I open it, make modifiations, and return a stream of the json dump.
Before, my function was like that:
```
dumped_json = json.dumps(data, separators=(',',':'))
return response.stream(StringIO.StringIO(dumped_json), attachment = True, filename = request.query['filename'])
```
But this don't work with py4web.
I try to take a look on documentation and source code but I don't found a correct answer for my need.
Can you help me with this use case ?
Thanks,
Florian