[akka-user] Re: akka-http-testkit responseAs cannot unmarshal the body

2015-06-12 Thread Johannes Rudolph
On Thursday, June 11, 2015 at 12:04:28 PM UTC+2, yar@gmail.com wrote: So if the response has content type text/plain, why the heck does the testkit try to unmarshal it with an application/json unmarshaller and how to point it in the right direction? Good question. Do you use one of the

[akka-user] Re: akka-http-testkit responseAs cannot unmarshal the body

2015-06-12 Thread yar . ilich
No, I roll my own based on our home-brewn JSON codec (actually just copy-pasted boilerplate from akka source, substituting the codec parts with my own). On Friday, June 12, 2015 at 3:12:30 PM UTC+3, Johannes Rudolph wrote: On Thursday, June 11, 2015 at 12:04:28 PM UTC+2, yar@gmail.com