src/main/scala/s3/website/S3.scala in s3_website-2.12.2 vs src/main/scala/s3/website/S3.scala in s3_website-2.12.3
- old
+ new
@@ -78,10 +78,10 @@
cacheCtrl
case (_, cacheCtrl: Some[String]) =>
cacheCtrl
case (maxAgeSeconds: Some[int], None) =>
maxAgeSeconds.map({
- case seconds if seconds == 0 => s"no-cache; max-age=0"
+ case seconds if seconds == 0 => s"no-cache, max-age=0"
case seconds => s"max-age=$seconds"
})
case (None, None) => None
}
cacheControl foreach { md.setCacheControl }