SS Template download zip results in "Failed - Forbidden"

  1. Create a new “ServiceStack ASP.NET Empty” project.
  2. Add a zip file to the main project
  3. Add an index.html file to the main project
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <h5 style="color:white;">Zip File: <a href="\ZippedFile.zip" download>Download</a></h5>
</body>
</html>
  1. Start the application and click the download link
    The download fails with a “Failed - Forbidden”

You need to add any file extensions not included in the white-list with:

SetConfig(new HostConfig {
    AllowFileExtensions = { "zip" }
});