Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
import caching headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek52 committed Sep 16, 2022
1 parent b512aa2 commit 02e1eae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ dependencies {
////////////////////
// Ktor dependencies
////////////////////
compile "io.ktor:ktor-server-default-headers:$ktor_version"
compile "io.ktor:ktor-server-compression:$ktor_version"
compile "io.ktor:ktor-server-jetty:$ktor_version"
compile "io.ktor:ktor-server-websockets:$ktor_version"
compile "io.ktor:ktor-server-default-headers:$ktor_version"
compile "io.ktor:ktor-server-compression:$ktor_version"
compile "io.ktor:ktor-server-caching-headers:$ktor_version"
compile "io.ktor:ktor-network-tls-certificates:$ktor_version"

compile 'io.mola.galimatias:galimatias:0.2.1'
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/kweb/client/HttpRequestInfo.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kweb.client

import io.ktor.server.plugins.origin
import io.ktor.request.ApplicationRequest
import io.ktor.server.request.ApplicationRequest

/**
* @param request This is the raw [ApplicationRequest](https://api.ktor.io/1.3.2/io.ktor.request/-application-request/index.html)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/kweb/config/KwebConfiguration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package kweb.config

import io.ktor.server.application.*
import io.ktor.http.*
import io.ktor.response.*
import io.ktor.server.response.*
import kweb.Kweb
import mu.KotlinLogging
import java.time.Duration
Expand Down

0 comments on commit 02e1eae

Please sign in to comment.