With the json support in 0.4.1, ktor relies on the...
# ktor
r
With the json support in 0.4.1, ktor relies on the client sending an
Accept
header with
application/json
in it, otherwise ktor sends a
400 Bad Request
response to the client. I see discussion around proper support for content negotiation in https://github.com/Kotlin/ktor/issues/167, but in the meantime -- is there a workaround for forcing a json response with poorly coded clients that do not submit the proper
Accept
header?