W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > October 2010

No content-type on payload

From: Kjetil Kjernsmo <kjetil@kjernsmo.net>
Date: Wed, 20 Oct 2010 16:24:30 +0200
To: public-rdf-dawg-comments@w3.org
Message-id: <201010201624.31283.kjetil@kjernsmo.net>
Hi all!

I'm slowly getting back into SPARQL development and I just noticed that in 
it says

"For operations involving a payload (PUT and POST), the server MUST parse 
the RDF payload according to media type specified in the Content-Type 
header (if provided in the request)."

I would prefer that it said what to do if Content-Type was not set. I 
suppose the only sensible thing to do is to attempt to parse the payload as 
RDF/XML and throw a 400 if it is not.


Kjetil Kjernsmo
Received on Wednesday, 20 October 2010 14:25:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:11 UTC