I'm pretty sure users like their "Download as CSV" links, which I've generally done as /normal/resource/url(.csv)
While this post sets out the ideals, I think there are some cases where for usability, you have to do something less than ideal.
I'm pretty sure users like their "Download as CSV" links, which I've generally done as /normal/resource/url(.csv)
While this post sets out the ideals, I think there are some cases where for usability, you have to do something less than ideal.
The web has grown organically and it has the warts to prove it. It's useful to think about the spec and to work toward improvements, but if it's real world possible to have your services work well for mobile clients on m.domain.com and real world impractical to do so on your main domain (or any of the other examples regarding actions, languages, versioning, whatever)—then by all means, break the rules.
I don't know if any browser will implement this or has implemented it, but in real world scenarios we'll probably have to stick with .csv and en/foo or ?locale=en for a couple of years...
Sadly no. Browsers suck ungodly amounts of dicks in their handling (or absence thereof) of the Accept header. I don't know of any web browser with an even remotely useful behavior on that one.
In practise no one does use it, so just forget about it.