diff options
author | adamw <adam@warski.org> | 2017-08-02 14:11:48 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-08-02 14:11:48 +0200 |
commit | 54715a9bbcfb7b9c6cad1f5dc46498f07b9612b6 (patch) | |
tree | 1da5e95965ee810d40a465a2855bc52df1d9a049 /async-http-client-handler | |
parent | 4fd5b1570c006a7ad5e022cadb9f41decf51d866 (diff) | |
download | sttp-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.scala | 3 |
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 ... |