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

Should all responses have the anno json-ld profile? #39

Closed
azaroth42 opened this issue Jun 18, 2015 · 9 comments
Closed

Should all responses have the anno json-ld profile? #39

azaroth42 opened this issue Jun 18, 2015 · 9 comments
Labels

Comments

@azaroth42
Copy link
Collaborator

Should all responses from Annotation Servers where the entity-body is a serialized annotation have a Content-Type of application/json+ld with the profile URI for the annotation profile? As most servers will have to explicitly set the content-type header, rather than allowing it to be set by an upstream system (such as apache's mod_mime_magic or similar) the implementation cost seems low.

It doesn't seem totally necessary, but could be useful for systems that do support multiple profiles. Better to be liberal with what you accept and strict with what you send.

@tilgovi
Copy link
Contributor

tilgovi commented Jun 18, 2015

be liberal with what you accept and strict with what you send

Does that imply we should add some SHOULD language around it? If so, +1

@azaroth42
Copy link
Collaborator Author

+1 to SHOULD

@iherman
Copy link
Member

iherman commented Jun 19, 2015

fine with me

Ivan


Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)

On 18 Jun 2015, at 23:57, Rob Sanderson notifications@github.com wrote:

+1 to SHOULD


Reply to this email directly or view it on GitHub.

@fhirsch
Copy link
Contributor

fhirsch commented Jun 24, 2015

+1 to SHOULD

2 similar comments
@cmbirk
Copy link
Member

cmbirk commented Jun 24, 2015

+1 to SHOULD

@pciccarese
Copy link
Contributor

+1 to SHOULD

@azaroth42
Copy link
Collaborator Author

Noting https://tools.ietf.org/html/rfc6839#section-3.1 regarding requirements around *+json [from SocialWG discussion on content types]. Also in latest HTTP spec, the ability to provide a media type parameter is clarified as possible in the Accept header, thus making content negotiation using media types feasible. There was some statements that it's not necessarily implemented ... but neither is conneg :)

@azaroth42
Copy link
Collaborator Author

@akuckartz
Copy link

😄

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

No branches or pull requests

7 participants