From 529bebcd66999fdd46e759712394c32e3bc0ed3a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 11 Feb 2020 01:40:40 +0000 Subject: [PATCH] static-files.md: fix typo --- content/docs/static-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/static-files.md b/content/docs/static-files.md index 7a5b482..519fb53 100644 --- a/content/docs/static-files.md +++ b/content/docs/static-files.md @@ -31,7 +31,7 @@ index file. Use the [*Files::index_file()*][indexfile] method to configure this `NamedFiles` can specify various options for serving files: -- `set_content_dispostion` - function to be used for mapping file's mime to corresponding `Content-Disposition` type +- `set_content_disposition` - function to be used for mapping file's mime to corresponding `Content-Disposition` type - `use_etag` - specifies whether `ETag` shall be calculated and included in headers. - `use_last_modified` - specifies whether file modified timestamp should be used and added to `Last-Modified` header.