- From: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
- Date: Mon, 27 Jan 2014 13:12:28 -0500
- To: "LDP Working Group" <public-ldp-wg@w3.org>
- Message-Id: <24D52177-A2E6-46C4-B304-D7263FA5B82B@openlinksw.com>
All --
Tied to [ISSUE-89]...
Starting with the HTTP Prefer Request Header draft RFC [1],
I find a requirement to register any token we want to use, and
provide a list of its possible values (and their effects). You
can see the current list of such at [2].
Values and parameters of these tokens are restricted by [3],
which allows for quoted-string handling of (I think) every
character that might occur in a URI.
That said, reading the draft RFC more deeply, it looks like we
might be better off starting with the existing "return=minimal"
Preference [4], and extending it with previously undefined and
thus optional "ldp" parameter --
Prefer: return=minimal; ldp="ldp-none"
Prefer: return=minimal; ldp="ldp-containment"
Prefer: return=minimal; ldp="ldp-membership"
Prefer: return=minimal; ldp="ldp-membership,ldp-containment"
Prefer: return=minimal; ldp="ldp-all"
The first would theoretically say "leave out all containment
and membership triples." The last might be considered/defined
as equivalent to --
Prefer: return=representation
-- and to include any currently undefined parameters, which
John's draft [5] left as possible for the future.
All of these "ldp-*" strings could (and probably should) be
replaced with URIs which return their meanings.
Notwithstanding any of the above, I think it important to note
that client use of this Request Header forces two Response Headers
from the server -- Preference-Applied and Vary.
The mandated content of these headers is discussed in the HTTP
Prefer Request Header draft RFC.
As always, a small question quickly gets larger.
Ted
[1] http://tools.ietf.org/html/draft-snell-http-prefer-18
[2] http://www.iana.org/assignments/http-parameters/http-parameters.xhtml#preferences
[3] http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-3.2.4
[4] http://tools.ietf.org/html/draft-snell-http-prefer-18#section-4.2
[5] http://lists.w3.org/Archives/Public/public-ldp-wg/2014Jan/0124.html
--
A: Yes. http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?
Ted Thibodeau, Jr. // voice +1-781-273-0900 x32
Senior Support & Evangelism // mailto:tthibodeau@openlinksw.com
// http://twitter.com/TallTed
OpenLink Software, Inc. // http://www.openlinksw.com/
10 Burlington Mall Road, Suite 265, Burlington MA 01803
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Monday, 27 January 2014 18:12:51 UTC