1
0
mirror of https://github.com/actix/actix-website synced 2025-02-17 10:13:31 +01:00

Typofix: use_last_modified (#151)

This commit is contained in:
András Veres-Szentkirályi 2020-01-27 11:16:29 +01:00 committed by Yuki Okushi
parent 509f394ba4
commit 53214f4727

View File

@ -33,7 +33,7 @@ index file. Use the [*Files::index_file()*][indexfile] method to configure this
- `set_content_dispostion` - function to be used for mapping file's mime to corresponding `Content-Disposition` type - `set_content_dispostion` - 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_modifier` - 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.
All of the above methods are optional and provided with the best defaults, But it is All of the above methods are optional and provided with the best defaults, But it is
possible to customize any of them. possible to customize any of them.