No content-type on payload

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