mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
![]() 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). |
||
---|---|---|
.. | ||
handlers | ||
http_SUITE_data | ||
static_handler_SUITE_data | ||
ws_SUITE_data | ||
compress_SUITE.erl | ||
cover.spec | ||
cowboy_ct_hook.erl | ||
cowboy_test.erl | ||
examples_SUITE.erl | ||
http_SUITE.erl | ||
loop_handler_SUITE.erl | ||
req_SUITE.erl | ||
rfc7230_SUITE.erl | ||
rfc7540_SUITE.erl | ||
static_handler_SUITE.erl | ||
ws_SUITE.erl |