elli v0.4 Release Notes

Release Date: 2012-11-26 // over 7 years ago
    • Added support for sending ranges of a file with sendfile by returning {Code, Headers, {file, Filename, {Offset, Length}}}. If no offset and length is specified, the entire file is sent. The user must provide an appropriate "Content-Length" and "Content-Range" header, see the example in elli_example_callback.erl (https://github.com/knutin/elli/blob/master/src/elli_example_callback.erl#L99). Thanks Vincent Siliakus (zambal).