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

Hypermedia controls in responses #33

Open
mstade opened this issue Dec 17, 2015 · 0 comments
Open

Hypermedia controls in responses #33

mstade opened this issue Dec 17, 2015 · 0 comments

Comments

@mstade
Copy link
Member

mstade commented Dec 17, 2015

We should be able to easily define hypermedia controls, and include these in responses. For instance, a view might link to a css file that defines styles for that view. It's presumptuous of the returned view to assume it's ok for it to inject those styles, but it should be able to link to them such that the client may decide what to do. HTML for instance has the <link> tag which in certain cases (e.g. rel="style") is fetched and processed automatically; a nap client may choose to do something similar.

This ties in with #7 – nap needs a much better API both in terms of representing and producing these messages.

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