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

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

From: Kam Hay Fung via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Mar 2019 22:37:37 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issues.opened-423503309-1553121456-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:15 UTC