diff options
author | adamw <adam@warski.org> | 2017-07-04 14:14:27 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-04 14:14:27 +0200 |
commit | 66eed168fa5b9868ffcee5fe1cf698148cfb5264 (patch) | |
tree | ded55762fb03c05a206d2e1cd3a9b9dedf540f95 /akka-http-handler/src/main/scala/com | |
parent | 3aefd7447ae8f15ecd9a3401b9dd6992c4197aec (diff) | |
download | sttp-66eed168fa5b9868ffcee5fe1cf698148cfb5264.tar.gz sttp-66eed168fa5b9868ffcee5fe1cf698148cfb5264.tar.bz2 sttp-66eed168fa5b9868ffcee5fe1cf698148cfb5264.zip |
Comments
Diffstat (limited to 'akka-http-handler/src/main/scala/com')
-rw-r--r-- | akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala index 668da90..7331065 100644 --- a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala +++ b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala @@ -59,8 +59,8 @@ class AkkaHttpSttpHandler(actorSystem: ActorSystem) case ResponseAsByteArray => asByteArray - case r @ ResponseAsStream() => - Future.successful(r.x(hr.entity.dataBytes)) + case r@ResponseAsStream() => + Future.successful(r.responseIsStream(hr.entity.dataBytes)) } } |