diff options
Diffstat (limited to 'docs/en/cowboy/2.0/guide/static_files/index.html')
-rw-r--r-- | docs/en/cowboy/2.0/guide/static_files/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/en/cowboy/2.0/guide/static_files/index.html b/docs/en/cowboy/2.0/guide/static_files/index.html index 6ef9d782..0edde8a3 100644 --- a/docs/en/cowboy/2.0/guide/static_files/index.html +++ b/docs/en/cowboy/2.0/guide/static_files/index.html @@ -195,8 +195,8 @@ is recommended to return the mimetype in tuple form, although a binary string is also allowed (but will require extra
processing). If the function can’t figure out the mimetype,
then it should return <code>{<<"application">>, <<"octet-stream">>, []}</code>.</p></div>
-<div class="paragraph"><p>When the static handler fails to find the extension in the
-list, it will send the file as <code>application/octet-stream</code>.
+<div class="paragraph"><p>When the static handler fails to find the extension,
+it will send the file as <code>application/octet-stream</code>.
A browser receiving such file will attempt to download it
directly to disk.</p></div>
<div class="paragraph"><p>Finally, the mimetype can be hard-coded for all files.
|