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

Specify a Detectable, Optional Behavior for LDP-NR with message/external-body #118

Closed
6 tasks
barmintor opened this issue May 16, 2017 · 3 comments · Fixed by #121
Closed
6 tasks

Specify a Detectable, Optional Behavior for LDP-NR with message/external-body #118

barmintor opened this issue May 16, 2017 · 3 comments · Fixed by #121

Comments

@barmintor
Copy link
Contributor

A new section of the spec should:

  • recapitulate the use case for proxied content and justification for message/external-body in an informative preamble
  • require LDP-C that support the creation of LDP-NR proxying content this way to advertise message/external-body;type=TYPE in the Accept-Post: response header for all supported values of TYPE
  • require LDP-S receiving a PUT or POST request that would create or update a LDP-NR with an unsupported Content-Type: message/external-body;type=TYPE value of TYPE to respond with HTTP 415
  • require LDP-S receiving a PUT or POST request that would create or update a LDP-NR with Content-Type: message/external-body;type=TYPE to guarantee that it can provide all GET and HEAD response headers required of LDP-NRs, or reject with a 4xx
  • LDP-NR GET/HEAD responses SHOULD also include a Content-Location: header with a URI representation of the location of the referenced content.
  • LDP-S SHOULD respect the expires parameter on message/external-body by either copying the data to other storage or rejecting the request with a 5xx

See also: https://github.com/fcrepo/fcrepo-specification/wiki/External-Content

@barmintor
Copy link
Contributor Author

Re-posting because it was hard to see what ticket to close/PR under this tag.

@barmintor
Copy link
Contributor Author

That seems like another issue, but I that sounds like 400 + constraints link to me?

@barmintor
Copy link
Contributor Author

@acoburn I just wanted to flag something here: The specs for message/external-body don't require that there is no entity, just that the entity not be understood to be the message. That sounds weird, but the examples you'll see have a body, and the spec says that it should be ignored by the recipient. I just want to make sure that presence/absence of an entity isn't over-interpreted.

barmintor added a commit to barmintor/fcrepo-specification that referenced this issue May 28, 2017
barmintor added a commit to barmintor/fcrepo-specification that referenced this issue Jun 9, 2017
fixes fcrepo#118
- fix formatting and terminology issues in discussion
- Move 'External Binary Content' section into Section#3 'Resource Management'
barmintor added a commit to barmintor/fcrepo-specification that referenced this issue Jun 11, 2017
fixes fcrepo#118
- fix formatting and terminology issues in discussion
- Move 'External Binary Content' section into Section#3 'Resource Management'
awoods pushed a commit that referenced this issue Jun 11, 2017
fixes #118
- fix formatting and terminology issues in discussion
- Move 'External Binary Content' section into Section#3 'Resource Management'
barmintor added a commit to barmintor/fcrepo-specification that referenced this issue May 22, 2018
fixes fcrepo#118
- fix formatting and terminology issues in discussion
- Move 'External Binary Content' section into Section#3 'Resource Management'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant