0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 04:10:24 +00:00
cowboy/test
Jean-Sébastien Pédron 98c2bc64e5
cowboy_static: Add support for files in EZ archives
If cowboy_static is initialized with `{priv_file, ...}` or `{priv_dir,
...}`, it is now able to read files from Erlang application .ez
archives.

When serving a file from an archive, the #file_info{} comes from the
archive, not the contained file, except for the size and type. The
erl_prim_loader module is used to read the latter's #file_info{} and the
actual file content (ie. sendfile(2) is not used in this case).

(cherry picked from commit 2166733628)
2017-01-31 16:19:45 +01:00
..
handlers Reply with 400 on header parsing crash 2014-07-12 12:09:43 +02:00
http_SUITE_data cowboy_static: Add support for files in EZ archives 2017-01-31 16:19:45 +01:00
ws_SUITE_data Enable Autobahn Test Suite by default 2014-04-20 22:20:54 +02:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
cowboy_ct_hook.erl Make loop handlers work with SPDY 2014-04-26 13:46:55 +02:00
cowboy_error_h.erl Make loop handlers work with SPDY 2014-04-26 13:46:55 +02:00
cowboy_test.erl Make loop handlers work with SPDY 2014-04-26 13:46:55 +02:00
eunit_SUITE.erl Start applications directly from the ct hook 2014-04-22 20:52:08 +02:00
http_SUITE.erl cowboy_static: Add support for files in EZ archives 2017-01-31 16:19:45 +01:00
loop_handler_SUITE.erl Make loop handlers work with SPDY 2014-04-26 13:46:55 +02:00
spdy_SUITE.erl Drop R15 support 2014-07-12 14:19:29 +02:00
ws_SUITE.erl Move listener initialization to cowboy_test 2014-04-22 22:50:45 +02:00