diff options
author | adamw <adam@warski.org> | 2017-08-31 12:26:46 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-08-31 12:26:46 +0200 |
commit | 5bc89ddefab16dd814d0b716a72490451b697b32 (patch) | |
tree | 30d907effc67ce976af5cd01dd4c6ef4d1bc6242 /async-http-client-handler | |
parent | 1fab77128b7ebd8a7f14d8e02c801b1fb6e28046 (diff) | |
download | sttp-5bc89ddefab16dd814d0b716a72490451b697b32.tar.gz sttp-5bc89ddefab16dd814d0b716a72490451b697b32.tar.bz2 sttp-5bc89ddefab16dd814d0b716a72490451b697b32.zip |
Follow-redirect support
Diffstat (limited to 'async-http-client-handler')
-rw-r--r-- | async-http-client-handler/src/main/scala/com/softwaremill/sttp/asynchttpclient/AsyncHttpClientHandler.scala | 2 |
1 files changed, 1 insertions, 1 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 9c4704b..2e5d16b 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 @@ -36,7 +36,7 @@ abstract class AsyncHttpClientHandler[R[_], S](asyncHttpClient: AsyncHttpClient, closeClient: Boolean) extends SttpHandler[R, S] { - override def send[T](r: Request[T, S]): R[Response[T]] = { + override protected def doSend[T](r: Request[T, S]): R[Response[T]] = { val preparedRequest = asyncHttpClient .prepareRequest(requestToAsync(r)) |