W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2009

Re: Use of Link rel+type for application discovery

From: Mark Baker <mark@coactus.com>
Date: Thu, 22 Jan 2009 12:43:50 +0000
Message-ID: <e9dffd640901220443j6189486cr927155e15433cee@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>




On Thu, Jan 22, 2009 at 2:43 AM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
>
> In Link headers / elements, the 'rel' attribute defines the relationship and the 'type' attribute provides a hint regarding the content type of the destination resource. Is it correct to assume that while 'type' does not define a relationship (as in, 'image/*' means 'my pictures'), applications may require that both the 'rel' and 'type' attribute carry a certain value when used.
>
> In other words, is it valid to say "look for a link with rel='a' and type='b' and only if both found, do something"?

As you point out, "type" is only a hint, so I wouldn't recommend that approach.

Mark.
Received on Thursday, 22 January 2009 13:24:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:00 GMT