cookiesSession

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

Keeps cookies between requests inside the callback.

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