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

Support registry self-description #2

Open
jamesarosen opened this issue Oct 21, 2013 · 0 comments
Open

Support registry self-description #2

jamesarosen opened this issue Oct 21, 2013 · 0 comments

Comments

@jamesarosen
Copy link
Member

Depends on #1

If a registry doesn't include both a <name> and <version>, then it must be self-describing. Make an OPTIONS request to the URL and look for the following header:

Link: <...>;rel="http://ahab.io/documentation/x-asset-registry-uri"

Use the link value as the registry.

Change the default registry to http://ahab.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant