diff options
-rw-r--r-- | core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala (renamed from core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala) | 2 | ||||
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala index 50f6d76..7fd7220 100644 --- a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala +++ b/core/src/main/scala/com/softwaremill/sttp/HttpURLConnectionSttpHandler.scala @@ -11,7 +11,7 @@ import scala.annotation.tailrec import scala.io.Source import scala.collection.JavaConverters._ -object HttpConnectionSttpHandler extends SttpHandler[Id, Nothing] { +object HttpURLConnectionSttpHandler extends SttpHandler[Id, Nothing] { override def send[T](r: Request, responseAs: ResponseAs[T, Nothing]): Response[T] = { val c = r.uri.toURL.openConnection().asInstanceOf[HttpURLConnection] diff --git a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala index ff6b113..f5a1796 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala @@ -107,7 +107,7 @@ class BasicTests override def port = 51823 - runTests("HttpURLConnection")(HttpConnectionSttpHandler, + runTests("HttpURLConnection")(HttpURLConnectionSttpHandler, ForceWrappedValue.id) runTests("Akka HTTP")(new AkkaHttpSttpHandler(actorSystem), ForceWrappedValue.future) |