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.02Received on Wednesday, 21 January 2015 15:39:24 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:43 UTC