a primary student

Results 2 comments of a primary student

Hi, I want to create an API to download files, but I don't know how to set the filename when downloaded by the browser. ``` @hug.get("/file", output = hug.output_format.file) def...

> Have a look at: > > * http://www.hug.rest/website/learn/output_formats > * [Change file name returned when using `hug.output_format.file` #793](https://github.com/hugapi/hug/issues/793) > > ```python > import csv > import io > >...