Re: [akka-user] Re: Is it possible to use a the stream materialized value to dictate the HTTP response status code?

2015-11-16 Thread Roland Kuhn
Hi Tim, Great that you figured it out, I tried to understand your question between a train and a plane and couldn't get to the bottom of it. Glad that you like our approach :-) Regards, Roland Sent from my iPhone > On 16 Nov 2015, at 06:15, Tim Harper wrote: > > I read enough source code

[akka-user] Re: Is it possible to use a the stream materialized value to dictate the HTTP response status code?

2015-11-15 Thread Tim Harper
I read enough source code to be able to answer my own question: The stream still isn't materialized at this point, where the StatusCode and headers are already known. https://github.com/akka/akka/blob/releasing-akka-stream-and-http-experimental-2.0-M1/akka-http-core/src/main/scala/akka/http/impl