[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (TOSCA-119) TOSCA should specify what to use in the accept Header for HTTP REST requests.
[ http://tools.oasis-open.org/issues/browse/TOSCA-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33741#action_33741 ] Travis Tripp commented on TOSCA-119: ------------------------------------ @Thomas, the intent is related to a repository of CSAR, but more specifically to a repository of the elements of a CSAR (the individual definitions files). If I expose them the repository as a REST service, then consumers of the service may support different formats. This would presume that they may request a certain format / version or range of formats / versions and the response would include in the content type header the returned format so that the consumer may correctly parse the return. > TOSCA should specify what to use in the accept Header for HTTP REST requests. > ----------------------------------------------------------------------------- > > Key: TOSCA-119 > URL: http://tools.oasis-open.org/issues/browse/TOSCA-119 > Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC > Issue Type: Improvement > Components: Spec > Reporter: Travis Tripp > Priority: Minor > > TOSCA does not address wire protocols for making REST requests for TOSCA documents. > For example, what should the accept type be in the following situations: > - CSAR > - Definitions Document > - Schema documents > One could infer that for the CSA it would be application/tosca-csar or application/csar > For definitions documents, it could be application/xml. > However, in the second case, this would be insufficient according to intended HTTP accept header usage. > This issue perhaps should be linked to https://tools.oasis-open.org/issues/browse/TOSCA-7 > For some background on Accept type, the following article is interesting: > http://www.informit.com/articles/article.aspx?p=1566460 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]