You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/06/21 12:47:10 UTC

[incubator-pekko-http] branch main updated: fix some links (#200)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d424bfa4 fix some links (#200)
9d424bfa4 is described below

commit 9d424bfa444cd308f9b4bdd2968773f138bf5944
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Jun 21 13:47:05 2023 +0100

    fix some links (#200)
---
 docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala         | 6 +++---
 .../org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala b/docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala
index 8895e2686..542e97eda 100644
--- a/docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala
+++ b/docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala
@@ -51,7 +51,7 @@ object Http2ClientApp extends App {
 
   dispatch(
     HttpRequest(
-      uri = "https://pekko.apache.org/api/akka/current/akka/actor/typed/scaladsl/index.html",
+      uri = "https://pekko.apache.org/api/pekko/current/org/apache/pekko/actor/typed/scaladsl/index.html",
       headers = headers.`Accept-Encoding`(HttpEncodings.gzip) :: Nil)).onComplete { res =>
     println(s"[1] Got index.html: $res")
     res.get.entity.dataBytes.runWith(Sink.ignore).onComplete(res => println(s"Finished reading [1] $res"))
@@ -61,13 +61,13 @@ object Http2ClientApp extends App {
 
   dispatch(
     HttpRequest(
-      uri = "https://pekko.apache.org/api/akka/current/index.js",
+      uri = "https://pekko.apache.org/api/pekko/current/index.js",
       headers = /*headers.`Accept-Encoding`(HttpEncodings.gzip) ::*/ Nil)).onComplete { res =>
     println(s"[2] Got index.js: $res")
     res.get.entity.dataBytes.runWith(Sink.ignore).onComplete(res => println(s"Finished reading [2] $res"))
   }
 
-  dispatch(HttpRequest(uri = "https://pekko.apache.org/api/akka/current/lib/MaterialIcons-Regular.woff"))
+  dispatch(HttpRequest(uri = "https://pekko.apache.org/api/pekko/current/lib/MaterialIcons-Regular.woff"))
     .flatMap(_.toStrict(1.second))
     .onComplete(res => println(s"[3] Got font: $res"))
 
diff --git a/http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala b/http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala
index bc6b4b4ca..9c7514fa1 100644
--- a/http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala
+++ b/http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala
@@ -10,8 +10,8 @@
 /*
  * Copyright (C) 2017-2022 Lightbend Inc. <https://www.lightbend.com>
  *
- * Copied and adapted from pekko-remote
- * https://github.com/apache/incubator-pekko/blob/c90121485fcfc44a3cee62a0c638e1982d13d812/akka-remote/src/main/scala/akka/remote/artery/StageLogging.scala
+ * Copied and adapted from pekko-stream
+ * https://github.com/apache/incubator-pekko/blob/bd1af56fcead435cb3d730e759223dcb2b0fb4c6/stream/src/main/scala/org/apache/pekko/stream/stage/StageLogging.scala
  */
 
 package org.apache.pekko.http.impl.util


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org