From 749853350953dc97841a48715257d1148c645eb0 Mon Sep 17 00:00:00 2001 From: Mathias Date: Thu, 18 Jun 2015 16:30:03 +0200 Subject: [PATCH] =docs #17600 fix incorrect http client example --- .../scala/code/docs/http/scaladsl/HttpClientExampleSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs-dev/rst/scala/code/docs/http/scaladsl/HttpClientExampleSpec.scala b/akka-docs-dev/rst/scala/code/docs/http/scaladsl/HttpClientExampleSpec.scala index 969f3e09f1..547452cc12 100644 --- a/akka-docs-dev/rst/scala/code/docs/http/scaladsl/HttpClientExampleSpec.scala +++ b/akka-docs-dev/rst/scala/code/docs/http/scaladsl/HttpClientExampleSpec.scala @@ -22,7 +22,7 @@ class HttpClientExampleSpec extends WordSpec with Matchers { implicit val materializer = ActorFlowMaterializer() val connectionFlow: Flow[HttpRequest, HttpResponse, Future[Http.OutgoingConnection]] = - Http().outgoingConnection("http://akka.io") + Http().outgoingConnection("akka.io") val responseFuture: Future[HttpResponse] = Source.single(HttpRequest(uri = "/")) .via(connectionFlow) @@ -44,7 +44,7 @@ class HttpClientExampleSpec extends WordSpec with Matchers { implicit val materializer = ActorFlowMaterializer() // construct a pool client flow with context type `Int` - val poolClientFlow = Http().cachedHostConnectionPool[Int]("http://akka.io") + val poolClientFlow = Http().cachedHostConnectionPool[Int]("akka.io") val responseFuture: Future[(Try[HttpResponse], Int)] = Source.single(HttpRequest(uri = "/") -> 42) .via(poolClientFlow)