You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2011/03/08 22:06:59 UTC

[jira] Reopened: (CLEREZZA-325) Have server side media-type priority list to use when the cleint accept header expresses equal preference for multiple available representations

     [ https://issues.apache.org/jira/browse/CLEREZZA-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ito reopened CLEREZZA-325:
-----------------------------------


requested http://localhost:8080/admin/graphs/ via curl:

curl -u admin:admin http://localhost:8080/admin/graphs/

(IMO by default xhtml or html should be returned. did I something wrong?)
 
result was:

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:j.0="http://clerezza.org/2010/03/graph-management#"
    xmlns:j.1="http://clerezza.org/2009/08/platform#" > 
  <rdf:Description rdf:nodeID="A0">
    <j.0:tripleCollection rdf:resource="http://zz.localhost/web-resources.graph"/>
    <j.0:tripleCollection rdf:resource="http://tpf.localhost/tbox.graph"/>
    <j.0:tripleCollection rdf:resource="http://zz.localhost/web-resources-cache.graph1299617621898"/>
    <j.0:tripleCollection rdf:resource="http://tpf.localhost/system.graph"/>
    <j.0:tripleCollection rdf:resource="http://zz.localhost/enrichment.graph"/>
    <j.0:tripleCollection rdf:resource="http://tpf.localhost/content.graph"/>
    <j.0:tripleCollection rdf:resource="http://zz.localhost/graph-access.graph"/>
    <j.0:tripleCollection rdf:resource="http://tpf.localhost/documentation.graph"/>
    <j.0:tripleCollection rdf:resource="http://tpf.localhost/config.graph"/>
    <rdf:type rdf:resource="http://clerezza.org/2010/03/graph-management#GraphManagementPage"/>
    <rdf:type rdf:resource="http://clerezza.org/2009/08/platform#HeadedPage"/>
  </rdf:Description>
</rdf:RDF>

It is absolutly curicial for SEO that html or xhtml is returned by default. 

if this is not fixed yet please add platform.defaultacceptheader.


> Have server side media-type priority list to use when the cleint accept header expresses equal preference for multiple available representations
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-325
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-325
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> revert CLEREZZA-324 once this implemented

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira