so, I was reading through the docs.
http://ktor.io/features/routing.html#quality
Is it me or does the section on quality make little sense?
"Given header routes above, and request header Accept: text/plain; q=0.5, text/html will match text/html because it has higher value for the quality (default is 1.0), and header Accept: text/plain, text/* will match text/plain because wildcard has lower quality."
But given that the alternative is "Application.Json" - what else should it match? Not sure if the Kotlin code above was meant to use "Text.Plain" and "Text.Html"?