mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00

Modified the static example in the examples subdirectory to use the mimetypes application to determine the appropriate MIME type to send down the wire in the HTTP headers of the reply.
6 lines
169 B
Erlang
6 lines
169 B
Erlang
{deps, [
|
|
{cowboy, ".*",
|
|
{git, "git://github.com/extend/cowboy.git", "master"}},
|
|
{mimetypes, ".*",
|
|
{git, "git://github.com/spawngrid/mimetypes.git", "master"}}
|
|
]}.
|