1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 08:43:01 +01:00

static-files.md: fix typo

This commit is contained in:
Starbeamrainbowlabs 2020-02-11 01:40:40 +00:00 committed by GitHub
parent 1a80aed878
commit 529bebcd66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.