…a Content-Length header.
elli.hrl needs to be included by modules that modifies the req record.
- Replaced FileOpts in send_file/6 with Range, because the size option in FileOpts was actually redundant since the removal of prepare_send_file. - Made send_file more robust against errors. - Cleaned up some type specs. - Removed size related test and example code in elli_example_callback and elli_test.
…ected size. Probably a timing issue was causing gen_tcp:recv(Socket, 0) to return with a different buffer than expected in the eyes of the testcase.