mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Wording tweak in static handler chapter in the guide
This commit is contained in:
parent
b5a40256dd
commit
fb6940599c
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ a binary string is also allowed (but will require extra
|
||||||
processing). If the function can't figure out the mimetype,
|
processing). If the function can't figure out the mimetype,
|
||||||
then it should return `{<<"application">>, <<"octet-stream">>, []}`.
|
then it should return `{<<"application">>, <<"octet-stream">>, []}`.
|
||||||
|
|
||||||
When the static handler fails to find the extension in the
|
When the static handler fails to find the extension,
|
||||||
list, it will send the file as `application/octet-stream`.
|
it will send the file as `application/octet-stream`.
|
||||||
A browser receiving such file will attempt to download it
|
A browser receiving such file will attempt to download it
|
||||||
directly to disk.
|
directly to disk.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue