Skip to content

Commit

Permalink
Merge branch 'gh-pages' into prof-Issue-687
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Sep 30, 2019
2 parents 6972722 + 4f1b760 commit c00c8e6
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions conneg-by-ap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,8 @@ <h3>Functional Profiles of this specification</h3>
implementations of systems within different environments wishing to conform to this specification.
</p>
<p>
This document provides functional profiles for two environments - HTTP &amp; human browser (Query String
Argument functionality) only. For the human browser environment, two functional profiles are presented.
This document provides functional profiles for two environments &ndash; HTTP &amp; human browser (Query String
Arguments). For the human browser environment, two functional profiles are presented to cater for different modes of use.
Further functional profiles of this specification MAY be implemented either for other environments and or even for
constrained scenarios within these environments and implementers are encouraged to do this by further profiling this
specification.
Expand All @@ -794,6 +794,12 @@ <h3>Conformance to Functional Profiles</h3>
This specification defines several <a>functional profiles</a> that may be conformed to by systems.
These functional profiles are identified by URIs and given in the table below.
</p>
<p>
If a system wishes to show conformance to this specification, conformance to at least one functional profile of
it, such as those listed <a href="#fig-table-profiles"></a> MUST be indicated. <a href="#fig-table-profiles"></a>
is not an exhaustive list of functional profiles of this specification and users MAY make additional
functional profiles for different environments, as described in the previous section.
</p>
<p>
The namespace prefix for the functional profiles used in <a href="#fig-table-profiles"></a>, the table below, is:
</p>
Expand Down Expand Up @@ -851,9 +857,6 @@ <h3>Conformance to Functional Profiles</h3>
of it.
</figcaption>
</figure>
<p>
If a system wishes to show conformance to this specification, conformance to at least one of the functional profiles listed in <a href="#fig-table-profiles"></a> MUST be indicated.
</p>
<p>
The namespace used for the above functional profiles, <code>http://www.w3.org/ns/dx/conneg/profile/</code>, is part of the Dataset Exchange Working Group's reserved W3C namespace,
<code>http://www.w3.org/ns/dx/</code>, which is provisioned for all namespace requirements to do with issues addressed by that Working Group. The <code>/profile/</code> path segment
Expand Down Expand Up @@ -1261,9 +1264,9 @@ <h4>QSA Functional Profile description</h4>
<div class="note">
Conformance of a system to any one, or perhaps multiple, of these functional profiles may be demonstrated as per
<a href="#conformancetoprofiles"></a>. Note that it is not required that a system, perhaps a server, indicate
conformance to one or more functional profiles of this specification since not all servers will have the ability to
either produce information as per <a href="#conformancetoprofiles"></a>. Systems may also show conformance to
the specification or functional profile in other ways, such as by a listing in a services catalogue.
conformance to one or more functional profiles of this specification since not all systems will have the ability to
do so themselves. Systems may also show conformance to
functional profiles in multiple ways, such as with annotated entries in a services catalogue.
</div>
<section id="qsa-uri">
<h5>QSA URI description</h5>
Expand Down Expand Up @@ -1580,7 +1583,8 @@ <h4>get resource by profile</h4>
To be conformant with the "QSA Functional Profile" profile of this specification, a <a>server</a> MUST allow
clients to request resources according to profiles they identify with a <code>_profile</code> query string.
Since either <a>tokens</a> or URIs may be used to identify a profile, servers MUST accept either. Servers MAY
accept both encoded and un-encoded URIs but MAY also only accept one or the other.
accept both encoded and un-encoded URIs but MAY also only accept one or the other. URIs MUST be enclosed in
angled brackets, '&lt;' &amp; '&gt;'.
</p>
<p>
To be conformant with the "QSA Alternate Keywords Functional Profile" profile of this specification, a
Expand All @@ -1591,18 +1595,16 @@ <h4>get resource by profile</h4>
<p>
A QSA <a>server</a> implementing <em>get resource by profile</em> SHOULD allow a client to indicate a
preference for representations of the resource according to any one of a number of profiles. Such a request
MUST indicate profile preference in by inclusion of an ordered list of profile identifiers (URIS or tokens)
MUST indicate profile preference in by inclusion of an ordered list of profile identifiers (URIs or tokens)
within the value of the QSA key/value pair used to identify profiles. For example, a client preferring
resource representations according to <em>profile-z</em> and then <em>profile-y</em> and finally
<em>profile-x</em>, in that preference order, could make a request like this:
resource representations according to <code>profile-z</code> and then <code>http://example.org/profile/y</code> and finally
<code>profile-x</code>, in that preference order, could make a request like this:
</p>
<p>
<code>GET /resource/a?_profile=profile-z,profile-y,profile-x</code>
<code>GET /resource/a?_profile=profile-z,&lt;http://example.org/profile/y>,profile-x</code>
</p>
<p>
Servers SHOULD support any combination of profile URIs or tokens for this (e.g.
<code>profile-z,http://example.org/profile/x,profile-y</code>) and SHOULD return resource representations
according to preference. Servers MUST indicate the profile actually returned by including a
Servers MUST indicate the profile actually returned by including a
<code>Content-Profile</code> HTTP header in the response and MAY also indicate the returned profile in other
ways. Servers SHOULD support escaped URIs and MAY also support un-escaped URIs identifying profiles, or both.
</p>
Expand Down

0 comments on commit c00c8e6

Please sign in to comment.