From da85f559573c9353185cb553290082c0bbdaf6d0 Mon Sep 17 00:00:00 2001 From: intracer Date: Tue, 9 Jan 2018 23:12:34 +0200 Subject: add status message to Response #59 --- .../com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'async-http-client-backend') diff --git a/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala b/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala index 885e5a9..fb0f780 100644 --- a/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala +++ b/async-http-client-backend/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientBackend.scala @@ -252,6 +252,7 @@ abstract class AsyncHttpClientBackend[R[_], S](asyncHttpClient: AsyncHttpClient, private def readResponseNoBody(response: AsyncResponse): Response[Unit] = { Response(Right(()), response.getStatusCode, + response.getStatusText, response.getHeaders .iterator() .asScala -- cgit v1.2.3