How to indicate to a web server the language of a resource
- by Nik M
I'm writing an HTTP API to a publishing server, and I want resources with representations in multiple languages. A user whose client GETs a resource which has Korean, Japanese and Trad. Chinese representations, and sends Accept-Language: en, ja;q=0.7 should get the Japanese.
One resource, identified by one URI, will therefore have a number of…