- From: Mark Wilkinson UPM <mark.wilkinson@upm.es>
- Date: Wed, 10 Apr 2019 13:45:20 +0200
- To: Richard Wallis <richard.wallis@dataliberate.com>
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
Hi Richard, Thanks for the rapid reply. Yes, if I limit the Accept header to only a single content-type, it works. It's a problem if I put all content types together (which is what the software I am using does). I think the "correct behaviour" is to incrementally go through the types until the server finds one that it is happy with... Mark On 4/10/19 1:26 PM, Richard Wallis wrote: > Hi Mark, > > I have just tested this, using curl. Although I did not get the > required output for /*all*/ the accept types you listed I did get the > correct output serialisations for the types listed on the developers > page <https://schema.org/docs/developers.html#conneg>: > > * > > curl-s -L --header "Accept: application/ld+json" > http://schema.org/Book > > * > > curl-s -L --header "Accept: application/rdf+xml" > http://schema.org/Book > > * > > curl-s -L --header "Accept: text/plain" http://schema.org/Book > > * > > curl-s -L --header "Accept: application/x-turtle" > http://schema.org/Book > > * > > curl-s -L --header "Accept: text/csv" http://schema.org/Book > > ~Richard > > Richard Wallis > Founder, Data Liberate > http://dataliberate.com > Linkedin: http://www.linkedin.com/in/richardwallis > Twitter: @rjw > > > > On Wed, 10 Apr 2019 at 12:07, Mark Wilkinson UPM > <mark.wilkinson@upm.es <mailto:mark.wilkinson@upm.es>> wrote: > > Dear Schema-team, > > > It appears that content negotiation isn't quite working properly for > schema.org <http://schema.org> terms, as described in > https://schema.org/docs/developers.html > > The Accept header: Accept: text/turtle, application/ld+json, > application/rdf+xml, text/xhtml+xml, application/n3, > application/rdf+n3, > application/turtle, application/x-turtle, text/n3, text/turtle, > text/rdf+n3, text/rdf+turtle, application/n-triples > > includes several of the content-types that you provide, but calls > using > that header return HTML... > > > Am I misunderstanding? > > > Mark > > > > -- > Dr. Mark D. Wilkinson > BBVA-UPM Industry Chair on Biotechnology > Isaac Peral Distinguished Researcher > Centro de Biotecnología y Genómica de Plantas UPM-INIA (CBGP) > Campus Montegancedo, > Autopista M-40 (Km 38) > 28223-Pozuelo de Alarcón (Madrid) > > > "The urge to save humanity is almost always a false front > for the urge to rule it" > > -- H. L. Mencken > > -- Dr. Mark D. Wilkinson BBVA-UPM Industry Chair on Biotechnology Isaac Peral Distinguished Researcher Centro de Biotecnología y Genómica de Plantas UPM-INIA (CBGP) Campus Montegancedo, Autopista M-40 (Km 38) 28223-Pozuelo de Alarcón (Madrid) "The urge to save humanity is almost always a false front for the urge to rule it" -- H. L. Mencken
Received on Wednesday, 10 April 2019 11:45:48 UTC