Re: [akka-user] Re: CORS Support Akka-http

2015-08-17 Thread Austin Guest
/programming/cross_origin_requests, specifically the first Important! box. On 16 August 2015 at 10:07, Austin Guest guest@gmail.com javascript: wrote: Great implementation `yar...`! Question: I borrowed this code in my own implementation but ran into an odd problem where it worked just fine

[akka-user] Re: CORS Support Akka-http

2015-08-16 Thread Austin Guest
Great implementation `yar...`! Question: I borrowed this code in my own implementation but ran into an odd problem where it worked just fine on the preflight `OPTIONS` request, but then omitted the CORS headers from the subsequent `POST` that was getting preflighted, causing the request to be

[akka-user] SprayJsonSupport implicits in scope for routes if defined in Main, but not if defined elsewhere

2015-07-11 Thread Austin Guest
Hi all. Jumping on the akka-streams/akka-http bandwagon and very excited! However, I've got a couple of puzzlers that stopped me short at the door. Quick context: * I'm making the server for a location-sharing app for activists