Stefan Tilkov's Random Stuff

RESTFul XML content negotiation « Angry Bill

Bill Burke picks up the decentralized media type idea:

I saved the best for last. The final idea was to embed format information within MIME properties:

application/xml; schema="http:/..."

application/octet-stream; data-format=java
Use a registered MIME type, but append extra format information as a MIME property. I did a test on this with Firefox and Safari and it doesn’t screw up the viewing. So for me, MIME properties it is! I would be interested in links to other thoughts on this.

I don't know whether the set of properties one can add to an existing MIME type is fixed -- but if not, this seems like an interesting alternative.

Comments

On March 6, 2008 12:24 PM, Aristotle Pagaltzis Author Profile Page said:

Whether or not it is fixed depends on the MIME type’s registration. In most cases, though, it is.

On March 7, 2008 5:33 AM, Bill Burke said:

Aristotle, isn’t the bigger question is a generic client going to care about an unknown or non-standard property?