We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e7ea6 commit 2d5ad1fCopy full SHA for 2d5ad1f
src/main/kotlin/io/sdkman/plugins/HTTP.kt
@@ -21,7 +21,7 @@ fun Application.configureHTTP(apiCacheConfig: ApiCacheConfig) {
21
}
22
23
install(CachingHeaders) {
24
- options { call, content ->
+ options { _, content ->
25
when (content.contentType?.withoutParameters()) {
26
ContentType.Application.Json -> CachingOptions(
27
cacheControl = CacheControl.MaxAge(maxAgeSeconds = apiCacheConfig.maxAgeSeconds),
0 commit comments