W3C home > Mailing lists > Public > uri@w3.org > October 2003

Re: URIs for media types

From: John Cowan <cowan@mercury.ccil.org>
Date: Sat, 11 Oct 2003 03:52:06 -0400
To: Larry Masinter <LMM@acm.org>
Cc: uri@w3.org
Message-ID: <20031011075206.GD7348@mercury.ccil.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:06 UTC