<commit_before>package org.http4k.serverless

import org.http4k.client.ServerForClientContract
import org.http4k.core.HttpHandler
import org.http4k.core.then
import org.http4k.filter.DebuggingFilters

object TestServerlessFunction : AppLoader {
    override fun invoke(env: Map<String, String>): HttpHandler =
        DebuggingFilters.PrintRequestAndResponse().then(ServerForClientContract)
}<commit_msg>various fixes to openwhisk deployment code<commit_after>package org.http4k.serverless

import org.http4k.client.ServerForClientContract
import org.http4k.core.then
import org.http4k.filter.DebuggingFilters.PrintRequestAndResponse

object TestServerlessFunction : AppLoader {
    override fun invoke(env: Map<String, String>) = PrintRequestAndResponse().then(ServerForClientContract)
}
{'fraction_non_alphanumeric': 0.08121827411167512, 'fraction_numerical': 0.011421319796954314, 'mean_word_length': 7.051020408163265, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6543466', 'n_tokens_mistral': 228, 'n_tokens_neox': 228, 'n_words': 42}