[akka-user] Re: akka-http-RC3 can't set the content type

2015-06-12 Thread Johannes Rudolph
On Friday, June 12, 2015 at 12:30:16 AM UTC+2, ke...@aptoma.com wrote: > > I think ContentType is modeled directly on HttpEntity. Try a combination > of the mapResponseEntity-directive and the .withContentType-method on > HttpEntity. > To expand on this: In spray/akka-http some headers are tr

[akka-user] Re: akka-http-RC3 can't set the content type

2015-06-11 Thread ketil
I think ContentType is modeled directly on HttpEntity. Try a combination of the mapResponseEntity-directive and the .withContentType-method on HttpEntity. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/addit