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

ERRest : link to new resource in URL #216

Closed
pascalrobert opened this issue Jun 11, 2012 · 2 comments
Closed

ERRest : link to new resource in URL #216

pascalrobert opened this issue Jun 11, 2012 · 2 comments
Assignees

Comments

@pascalrobert
Copy link
Contributor

When a new resource is created by a POST request with ERRest, the response should have a link, in the headers, to the URL of the new resource.

@ghost ghost assigned pascalrobert Jun 11, 2012
@pascalrobert
Copy link
Contributor Author

The header is "Location". Also, it should pass a "action" in the userInfo dict of the REST context so that we can know which action will be part of the URL. If that "action" key is not there, we don't generate the header since we can't find out which action should be used.

@paulhoadley
Copy link
Contributor

It looks like there was an attempt to do this in #221, but it was closed without merging. I think we can close this ticket as ancient now, and if anyone is keen they can re-open.

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

2 participants