Re: URIs for media types

Larry Masinter scripsit:
> 
> One caution: many people think they want a URI to talk about
> a "media type" (like 'text/html') when, on examination, their
> application actually needs to know a "content-type string"
> (like 'text/html;charset=iso-8859-1').

[snip]

> While it's easy to imagine constructing "http://iana.org"
> URIs whose resources bear some descriptive relationship
> to the former, it's harder to figure out how to encode
> the latter. 

What's wrong with just changing the semicolon to a question mark?
If you want a canonical URI, sort the parameters by name.

-- 
John Cowan                                   jcowan@reutershealth.com
        "You need a change: try Canada"  "You need a change: try China"
                --fortune cookies opened by a couple that I know

Received on Saturday, 11 October 2003 03:52:08 UTC