aboutsummaryrefslogtreecommitdiff
path: root/async-http-client-handler
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-08-31 12:26:46 +0200
committeradamw <adam@warski.org>2017-08-31 12:26:46 +0200
commit5bc89ddefab16dd814d0b716a72490451b697b32 (patch)
tree30d907effc67ce976af5cd01dd4c6ef4d1bc6242 /async-http-client-handler
parent1fab77128b7ebd8a7f14d8e02c801b1fb6e28046 (diff)
downloadsttp-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.scala2
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))