Wrong behavior with accept header passed

62 views
Skip to first unread message

Karol Szczepański

unread,
Sep 11, 2015, 8:26:24 AM9/11/15
to Structured Data on the Web
It seems that the linter sends quite a lot various acceptable media types in the Accept HTTP header, but unfortunately, when receiving non-HTML based content (i.e. application/n-triples) it fails to provide any results and claims an error occured.
Is there any chance of having that corrected? I believe two solutions are available: remove unnecessery media types and leav only those that are actually supported (quick) or present parsers for other media types.

Gregg Kellogg

unread,
Sep 11, 2015, 12:33:09 PM9/11/15
to Structured Data on the Web
This is a bug; at some point in the past parsing non-HTML mime-types broke, but should work. I recorded it here: https://github.com/structured-data/linter/issues/26, and will look into it shortly.

You should be able to lint any valid RDF mime-type, including N-Triples, although that’s not the primary purpose of the site.
Reply all
Reply to author
Forward
0 new messages