aboutsummaryrefslogtreecommitdiff
path: root/akka-http-handler
diff options
context:
space:
mode:
Diffstat (limited to 'akka-http-handler')
-rw-r--r--akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala1
1 files changed, 0 insertions, 1 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 9125ca3..a22c7cf 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
@@ -117,7 +117,6 @@ class AkkaHttpSttpHandler(actorSystem: ActorSystem)
case InputStreamBody(b) =>
ar.withEntity(
HttpEntity(ct, StreamConverters.fromInputStream(() => b)))
- case FileBody(b) => ar.withEntity(ct, b.toPath)
case PathBody(b) => ar.withEntity(ct, b)
case s @ SerializableBody(_, _) => doSetSerializable(s)
}