aboutsummaryrefslogtreecommitdiff
path: root/async-http-client-handler
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-08-02 14:11:48 +0200
committeradamw <adam@warski.org>2017-08-02 14:11:48 +0200
commit54715a9bbcfb7b9c6cad1f5dc46498f07b9612b6 (patch)
tree1da5e95965ee810d40a465a2855bc52df1d9a049 /async-http-client-handler
parent4fd5b1570c006a7ad5e022cadb9f41decf51d866 (diff)
downloadsttp-54715a9bbcfb7b9c6cad1f5dc46498f07b9612b6.tar.gz
sttp-54715a9bbcfb7b9c6cad1f5dc46498f07b9612b6.tar.bz2
sttp-54715a9bbcfb7b9c6cad1f5dc46498f07b9612b6.zip
ResponseAsParams is not needed, it's enough to parse the string into parameters
Diffstat (limited to 'async-http-client-handler')
-rw-r--r--async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala3
1 files changed, 0 insertions, 3 deletions
diff --git a/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala b/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala
index cd10735..4824b39 100644
--- a/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala
+++ b/async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala
@@ -219,9 +219,6 @@ abstract class AsyncHttpClientHandler[R[_], S](asyncHttpClient: AsyncHttpClient,
case ResponseAsByteArray =>
rm.unit(response.getResponseBodyAsBytes)
- case r @ ResponseAsParams(enc) =>
- rm.unit(r.parse(asString(enc)))
-
case ResponseAsStream() =>
// only possible when the user requests the response as a stream of
// Nothing. Oh well ...