- From: Markus Lanthaler <markus.lanthaler@gmx.net>
 - Date: Fri, 7 Aug 2015 00:28:44 +0200
 - To: <public-linked-json@w3.org>
 - Cc: "'Haag, Jason'" <jason.haag.ctr@adlnet.gov>
 
On Thursday, August 06, 2015 7:45 PM, Haag, Jason wrote:
> Hi,
> 
> I'm currently testing content negotiation on Apache 2.4.7 on ubuntu. I
> have enabled htaccess and added the mime types below in htaccess. I
> also added application/ld+json to the mime.types config file in
> apache. The header requests all seem to be working fine except JSON-
> LD. Is there anything I need to add to the JSON-LD header accept? When
> I try to test this out with curl the server returns HTML, RDF/XML, and
> Turtle content types as expected. But when I try the Accept:
> application/ld+json" header it returns RDF/XML. 
[...]
> # Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
> RewriteCond %{HTTP_ACCEPT} application/ld+json
Not sure if it does the trick but you forgot to escape the "+" above.
HTH,
Markus
--
Markus Lanthaler
@markuslanthaler
Received on Thursday, 6 August 2015 22:29:15 UTC