mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +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,
|
||||
then it should return `{<<"application">>, <<"octet-stream">>, []}`.
|
||||
|
||||
When the static handler fails to find the extension in the
|
||||
list, it will send the file as `application/octet-stream`.
|
||||
When the static handler fails to find the extension,
|
||||
it will send the file as `application/octet-stream`.
|
||||
A browser receiving such file will attempt to download it
|
||||
directly to disk.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue