diff --git a/sanic/response.py b/sanic/response.py index 2f7ae90f..07a5cb99 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -159,7 +159,7 @@ async def file(location, mime_type=None, headers=None, force_download=False): :param location: Absolute file path :param mime_type: File MIME type :param headers: List of HTTP headers - :param force_download: if `True` immediately prompt the user to save + :param force_download: if `True` immediately prompt the user to save the file directly to the user's disk, without opening it in the browser """ filename = path.split(location)[-1]