This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

RESTFul XML content negotiation « Angry Bill

Stefan Tilkov,

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.

On March 6, 2008 12:24 PM, Aristotle Pagaltzis 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?