Getting the response header

Report a typo

Here is a code snippet:

val client = HttpClient(CIO)
val res: HttpResponse = client.get("https://google.com")

How do we get the Content-Length response header?

Enter a short text
___

Create a free account to access the full topic