1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

Merge pull request #159 from sbrl/patch-1

static-files.md: fix typo
This commit is contained in:
Rob Ede 2020-02-11 10:35:31 +00:00 committed by GitHub
commit 8c711dcaf0
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:
- `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.