Skip to content

Instantly share code, notes, and snippets.

@nevali
Created May 1, 2011 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nevali/950408 to your computer and use it in GitHub Desktop.
Save nevali/950408 to your computer and use it in GitHub Desktop.
HEAD /foo HTTP/1.1
Host: example.com
Accept: application/rdf+xml, text/turtle, text/html, */*
HTTP/1.1 200 OK
Content-type: application/rdf+xml
Content-location: /foo.rdf
Alternates: {"/foo.rdf" 1.0 {type application/rdf+xml}}, {"/foo.ttl" 1.0 {type text/turtle}}, {"/foo.html" 0.8 {type text/html}}
Vary: negotiate
HEAD /foo.ttl HTTP/1.1
Host: example.com
Accept: application/rdf+xml, text/turtle, text/html, */*
HTTP/1.1 200 OK
Content-type: text/turtle
Content-location: /foo.ttl
Alternates: {"/foo.rdf" 1.0 {type application/rdf+xml}}, {"/foo.ttl" 1.0 {type text/turtle}}, {"/foo.html" 0.8 {type text/html}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment