cookiesSession

fun TestApplicationEngine.cookiesSession(callback: () -> Unit)

Keep cookies between requests inside the callback.

This processes HttpHeaders.SetCookie from the responses and produce HttpHeaders.Cookie in subsequent requests.