Preference for URL-based content negotiation over Accept headers
Simon Willison independently chose not to use Accept-header–based content negotiation, preferring predictable URLs—for example, using a '.json' suffix to serve JSON.
Supporting evidence
Comment: We just shipped support for the ugliest part of HTTP: Vary
Original excerpt
(Independent of the Cloudflare feature I ended up deciding never to use that pattern, because I prefer having URL that predictably returns HTML or JSON - I add a .json suffix to my apps to serve JSON instead.)
Share insightCheck this claim
