Skip to content

Commit

Permalink
Fix typo in res.download
Browse files Browse the repository at this point in the history
closes #1404
  • Loading branch information
cfdeinza authored and dougwilson committed Nov 27, 2023
1 parent 3d719e3 commit 78b4a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/api/en/5x/res-download.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The optional `options` argument is supported by Express v4.16.0 onwards.
</div>

Transfers the file at `path` as an "attachment". Typically, browsers will prompt the user for download.
By default, the `Content-Disposition` header "filename=" parameter is derrived from the `path` argument, but can be overridden with the `filename` parameter.
By default, the `Content-Disposition` header "filename=" parameter is derived from the `path` argument, but can be overridden with the `filename` parameter.
If `path` is relative, then it will be based on the current working directory of the process.

The following table provides details on the `options` parameter.
Expand Down

0 comments on commit 78b4a7d

Please sign in to comment.