Re: JSON-LD context file at schema.org - request for feedback

On 01/21/2015 04:12 PM, Kingsley Idehen wrote:
> On 1/21/15 8:05 AM, Dan Brickley wrote:
>> The context is content negotiable from the site homepage but also
>> available athttp://schema.org/docs/jsonldcontext.json.txt
> 
> What should I be using in regards to cURL against the homepage?
> 
> Note I've tried the following which 405:
> 
> curl -IH "Accept: application/json+ld" http://schema.org/
> HTTP/1.1 405 Method Not Allowed
> Allow: GET
> Content-Type: text/plain; charset=UTF-8
> Content-Length: 77
> Date: Wed, 21 Jan 2015 15:08:42 GMT
> Server: Google Frontend
> Alternate-Protocol: 80:quic,p=0.02

curl -IH "Accept: application/ld+json" http://schema.org
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/ld+json
Vary: Accept, Accept-Encoding
Date: Wed, 21 Jan 2015 15:36:57 GMT
Server: Google Frontend
Content-Length: 4167
Cache-Control: public, max-age=43200
Age: 20
Alternate-Protocol: 80:quic,p=0.02

Received on Wednesday, 21 January 2015 15:39:24 UTC