On 18 March 2017 at 01:16, Daniel Stoner <daniel.sto...@ocado.com> wrote:

> I guess you have to remember that Akka-HTTP originates from Spray - and so
> those choices were likely already made. (I'm sure there is a fully plausible
> performance threading reason that is beyond me too hehe).

Yes, I suspect it is too late to change the behaviour, no matter how
odd it seems to be - although I haven't seen any comment from the Akka
HTTP people yet.

> Implementing a custom directive is easy!

I don't think a directive is the right way to do this, it needs to be
added to the existing PathMatcher DSL so it can be used with the path
and pathPrefix directives, and I'm not sure of how to do that.

-- 
Alan Burlison
--

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to