mirror of
https://github.com/actix/actix-website
synced 2024-11-24 00:41:07 +01:00
static-files.md: fix typo
This commit is contained in:
parent
1a80aed878
commit
529bebcd66
@ -31,7 +31,7 @@ index file. Use the [*Files::index_file()*][indexfile] method to configure this
|
|||||||
|
|
||||||
`NamedFiles` can specify various options for serving files:
|
`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_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.
|
- `use_last_modified` - specifies whether file modified timestamp should be used and added to `Last-Modified` header.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user