is there a way to guarantee that spray will always return a json response. I found through testing that sending a very large or negative content-length results in a canned plain text response back from spray?
Logs show this : [WARN] [05/12/2016 17:14:28.690] [on-spray-can-akka.actor.default-dispatcher-9] [akka://on-spray-can/user/IO-HTTP/listener-0/3] Illegal request, responding with status '400 Bad Request': Illegal `Content-Length` header value
--
You received this message because you are subscribed to the Google Groups "spray.io User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
Visit this group at https://groups.google.com/group/spray-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/3b10f233-bbf7-496d-a82d-1a27668a8137%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.