[akka-user] Understanding akka-http's transparent HEAD requests

2016-05-21 Thread Sebastian Just
Hello everyone! I try to understand how the transparent HEAD request handling in Akka 2.4.6 behaves. According to the documentation I thought the following tests would pass: class Spec extends WordSpec with Matchers with ScalatestRouteTest { val chunkedEntityByteStrings = List("Hello", " ",

Re: [akka-user] ANNOUNCE: New Remoting Milestone 1

2016-05-21 Thread Roland Kuhn
Very exciting indeed, can’t wait to play with it! > 20 maj 2016 kl. 19:03 skrev Filippo De Luca : > > Very good news indeed > > On 20 May 2016 at 18:02, Vitor Vieira > wrote: > That's awesome! Can't wait to see the final benchmarks! > > Cheers! > > Vitor Vieir

[akka-user] How to add headers in Akka-HTTP client Http() call

2016-05-21 Thread Rahul Kumar
Hi, I have a small doubt, how i can pass headers in Akka-HTTP client Http() call. I want to pass X-Auth-Token with some value, I have given Syntax below. val responseFuture: Future[HttpResponse] = Http().singleRequest(HttpRequest(method = HttpMethods.POST, uri = "http://localhost:9000/api/v0

Re: [akka-user] How to add headers in Akka-HTTP client Http() call

2016-05-21 Thread Viktor Klang
Hi Rahul, http://doc.akka.io/api/akka/2.4.6/?_ga=1.210392661.1579561034.1353497989#akka.http.scaladsl.model.HttpRequest request.addHeader(…) On Sat, May 21, 2016 at 7:48 PM, Rahul Kumar wrote: > Hi, > > I have a small doubt, how i can pass headers in Akka-HTTP client Http() > call. > > I want

[akka-user] AsyncWriteJournal - question about asyncWriteMessages

2016-05-21 Thread Maciej Ciołek
Hello, I would like to ask about the docs in AsyncWriteJournal: *asyncWriteMessages:* *Calls to this method are serialized by the enclosing journal actor. If you spawn work in asynchronous tasks it is alright that they complete the futures in any order, but the actual writes for a specific persi