summaryrefslogtreecommitdiff
path: root/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/1 - Cask: a Scala HTTP micro-framework.md')
-rw-r--r--docs/pages/1 - Cask: a Scala HTTP micro-framework.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
index 8cf80ec..2e191d3 100644
--- a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
+++ b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
@@ -204,6 +204,11 @@ contents from the corresponding file on disk (and 404 otherwise).
Similarly, `@cask.staticResources` attempts to serve a request based on the JVM
resource path, returning the data if a resource is present and a 404 otherwise.
+You can also configure the `headers` you wish to return to static file requests,
+or use `@cask.decorators.compress` to compress the responses:
+
+$$$staticFiles2
+
## Redirects or Aborts
$$$redirectAbort