[dxwg] Returning profile list in HTTP response message body (#835)

kamhayfung has just created a new issue for https://github.com/w3c/dxwg:

== Returning profile list in HTTP response message body ==
In https://w3c.github.io/dxwg/conneg-by-ap/#listprofiles-content, a server can return a list of profiles in the message body of an HTTP response. It is unclear to me how this is possible if a client sent a `GET` or a `HEAD` request.

According to RFC2616, server must not return a message body in a `HEAD` response.

For a `GET` request, a client would have nominated a media-type like `Accept: text/turtle` in which case a server cannot return a message body conforming to one of the three supported media types for profiles but instead `Content-Type: text/turtle`:

- text/uri-list
- application/ld+json or RDF data serialized in any format
- text/html

Would you please elaborate how it can be done in the specification?

Please view or discuss this issue at https://github.com/w3c/dxwg/issues/835 using your GitHub account

Received on Wednesday, 20 March 2019 22:37:38 UTC