3 ms·
+1 for content negotiation. Extension-less URLs are just plain sexy.
by TheWama 18y ago
+1 for content negotiation. Extension-less URLs are just plain sexy.
- simonw 18y agoExtension-less URLs are great, but I'm not a fan of content negotiation. I like to be able to copy and paste a URL to someone and know that they are going to retrieve the same piece of content as I did. I don't like language negotiation for the same reason - if someone finds a typo on my French language site and sends me a link to the page but I see it in English I won't know what they're talking about.
- bct 18y agoThat's the conventional wisdom, but I'm not completely convinced that those are real problems. If you send someone a content-negotiated URL you can be pretty confident that they'll see the text/html (or application/xhtml+xml :-) version). Similarly, any typo report more specific than "there's a typo somewhere at this URL" will tell you what you need to know.