Auto Head Response
In order to take advantage of this functionality, we need to install the feature in our application
In our case the /home
route will now respond to HEAD
request even though there is no explicit definition for this verb.
The following artifacts need to be included in the build script to use this feature:
Gradle (Kotlin)
Maven
implementation "io.ktor.features.autoheadresponse:1.5.0"
does not provide any additional configuration options.