0
Fork 0
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:
Loïc Hoguin 2016-06-06 16:12:24 +02:00
parent b5a40256dd
commit fb6940599c

View file

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