W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > October 2019

[dxwg] Pull Request: changing Link header rel="self" to rel="default"

From: Nicholas Car via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Oct 2019 03:16:46 +0000
To: public-dxwg-wg@w3.org
Message-ID: <pull_request.labeled-331832927-None-sysbot+gh@w3.org>
nicholascar has just labeled a pull request from nicholascar for https://github.com/w3c/dxwg as "profile-negotiation":

== changing Link header rel="self" to rel="default" ==
In testing aspects of my implementation and Rob's one in devlopment, we noticed that the Link header indicating a default response with rel="self" is misleading: I had inadvertently interpreted "self" to mean the representation returned which may or may not be the default prepresentation.

Since the profile conformance and the format of the representation returned are given by `Content-Profile` and `Content-Type` respectively, they indicate the "self" result and this we would be clearer in using rel="default".

Note that in the [HTTP header mapping to the AptR model](https://w3c.github.io/dxwg/conneg-by-ap/#http-altp), we have made the fact that this rel="self" is the default indicator by mapping it to `altp:hasDefaultRepresentation`.

See https://github.com/w3c/dxwg/pull/1134
Received on Thursday, 24 October 2019 03:16:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 October 2019 00:15:58 UTC