diff --git a/_includes/api/en/3x/res-download.md b/_includes/api/en/3x/res-download.md index 43d48f769d..4cfb5ddf84 100644 --- a/_includes/api/en/3x/res-download.md +++ b/_includes/api/en/3x/res-download.md @@ -3,10 +3,10 @@ Transfer the file at `path` as an "attachment", typically browsers will prompt the user for download. The Content-Disposition "filename=" parameter, aka the one -that will appear in the brower dialog is set to `path` +that will appear in the browser dialog is set to `path` by default, however you may provide an override `filename`. -When an error has ocurred or transfer is complete the optional +When an error has occurred or transfer is complete the optional callback `fn` is invoked. This method uses res.sendfile() to transfer the file.