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

Add links to all resources when requesting / #4

Open
mstade opened this issue Sep 22, 2015 · 0 comments
Open

Add links to all resources when requesting / #4

mstade opened this issue Sep 22, 2015 · 0 comments

Comments

@mstade
Copy link
Member

mstade commented Sep 22, 2015

From @mstade on August 8, 2014 15:45

When you do a GET / in a nap web (maybe start calling these domains instead?) we should get back links for all resources available, here's an example:

GET /
Accept: *

Returns something like:

200 OK
Link: </foo>;rel=foo
Link: </bar>;rel=bar
Link: </ping-pong>;rel=wibble
Link: </mango>;rel=wobble

Not sure if this should include all resources in the domain, or if this is something the domain has to explicitly define.

Copied from original issue: sammyt/nap#12

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