aboutsummaryrefslogtreecommitdiffstats
path: root/test/static_handler_SUITE.erl
AgeCommit message (Collapse)Author
2019-09-07Improve the cowboy_static consistency across platformsLoïc Hoguin
As a result we explictly reject path_info components that include a forward slash, backward slash or NUL character. This only applies to the [...] part of the path for dir/priv_dir configuration. Also improve the tests so that they work on Windows.
2019-09-06Correct tests modifying mtime of static filesLoïc Hoguin
On macOS this resulted in failure because the mtime did not change between test groups. The mtime should now always change.
2019-04-01Add a cowboy_static test with an uppercase filename/extensionLoïc Hoguin
2018-11-19Fix case insensitive filesystems in static_handler test suiteLoïc Hoguin
2018-11-19Add an additional test to the static test suiteLoïc Hoguin
2018-11-19Silence expected errors from the static_handler test suiteLoïc Hoguin
2018-11-14Don't send an unnecessary content-type header with cowboy_restLoïc Hoguin
2018-11-11Enable range requests support in cowboy_staticLoïc Hoguin
2018-11-03Add an option to disable sendfile for a listenerLoïc Hoguin
2018-11-02Add a charset option to cowboy_staticLoïc Hoguin
2018-10-31Always dialyze tests and fix some cowboy_req specsLoïc Hoguin
2018-05-17Speed up testing large static files, 32MB instead of 512MBLoïc Hoguin
2017-11-29Remove two warnings in test suitesLoïc Hoguin
2017-11-29Add nowarn_export_all to all test suitesLoïc Hoguin
2017-11-19The static suite's large file is not created on WindowsLoïc Hoguin
2017-10-31Add some todosLoïc Hoguin
2017-10-31Fix the static_handler test suiteLoïc Hoguin
Bad requests correctly return 400, not 500.
2017-09-04Add a static handler test with an empty fileLoïc Hoguin
2017-09-04Alphabetical order some testsLoïc Hoguin
2017-02-05Fix sending of large files with HTTP/2Loïc Hoguin
Also finish implementing the relevant test, getting rid of todos.
2017-01-24cowboy_static: Add support for files in EZ archivesJean-Sébastien Pédron
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).
2017-01-22Add experimental cowboy_compress_h stream handlerLoïc Hoguin
Currently marked as experimental because it can't be tweaked (just enabled/disabled) and because it is not documented yet.
2017-01-02Welcome to 2017Loïc Hoguin
2016-06-06Add the static_handler test suiteLoïc Hoguin