* Fixes#1384
* There is no need to set no_chunking
* Test content-length for static files
* Update the tests
* Add Changelog
* Try to simply fix Windows test issues!
Co-authored-by: Rob Ede <robjtede@icloud.com>
* Use GitHub Actions
* Fix unused imports on Windows
* Fix test for Windows
* Stop to run CI for i686-pc-windows-msvc for now
* Use `/` instead of `\` on Windows
* Add entry to changelog
* Prepare actix-files release
When accessing to a folder without a final slash, the index file will be loaded ok, but if it has
references (like a css or an image in an html file) these resources won't be loaded correctly if
they are using relative paths. In order to solve this, this PR adds the possibility to detect
folders without a final slash and make a 302 redirect to mitigate this issue. The behavior is off by
default. We're adding a new method called `redirect_to_slash_directory` which can be used to enable
this behavior.