Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEAD Response headers #43

Open
awoods opened this issue Oct 31, 2017 · 0 comments
Open

HEAD Response headers #43

awoods opened this issue Oct 31, 2017 · 0 comments

Comments

@awoods
Copy link
Member

awoods commented Oct 31, 2017

After creating a simple (Basic) container, the response to a HEAD request should minimally include the following headers, with appropriate values:

curl -I [existing-fedora-container]

HTTP/1.1 200 OK
Date: Tue, 31 Oct 2017 16:52:24 GMT
ETag: W/"37a00c700a43fd89916075f198b9d60a90f2630e"
Last-Modified: Tue, 31 Oct 2017 16:52:24 GMT
Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#Container>;rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>;rel="type"
Accept-Patch: application/sparql-update
Accept-Post: text/turtle,text/rdf+n3,text/n3,application/rdf+xml,application/n-triples,application/ld+json,multipart/form-data,application/sparql-update
Allow: MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS
Content-Type: text/turtle;charset=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant