W3C home > Mailing lists > Public > public-ldp-wg@w3.org > November 2012

Re: Returning HTTP codes with HTML descriptions.

From: Alexandre Bertails <bertails@w3.org>
Date: Fri, 02 Nov 2012 23:58:11 +0100
Message-ID: <50945003.8090202@w3.org>
To: "Wilde, Erik" <Erik.Wilde@emc.com>
CC: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>, Andrei Sambra <andrei@fcns.eu>
On 11/02/2012 09:45 PM, Wilde, Erik wrote:
> hello.
>
> On Nov 2, 2012, at 12:54, "Andrei Sambra" <andrei@fcns.eu
> <mailto:andrei@fcns.eu>> wrote:
>> For example, applications may not "speak" LDP at start (i.e. misusing
>> REST verbs), thus resulting in '405 Method Not Allowed' errors. It would
>> be nice to have some HTML describing what they did wrong.
>
> instead of just using HTML, i suggest to have a look at
> http://tools.ietf.org/html/draft-nottingham-http-problem-01 and see how
> well it would fit. i think pretty good. the next version is supposed to
> add XML support (i'm working on a schema).

There are some interesting ideas in this spec, but in our case, the
client already understands RDF, so I don't see why we would return
anything but RDF for "problem details".

Alexandre.

>
> cheers,
>
> dret.
Received on Friday, 2 November 2012 22:58:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:42 UTC