[infinispan-issues] [JBoss JIRA] (ISPN-8566) Rest server doesn't handle wildcards in the Accept header

Gustavo Fernandes (JIRA) issues at jboss.org
Mon Dec 11 11:29:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-8566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-8566:
------------------------------------
    Description: 
Typically a browser automatically adds multiple mime types in the accept header, like:

"text/html, application/xhtml+xml,\*/\*"

But when requesting a document in a cache encoded with protostream with the headers above, the response is

"Cannot find transcoder between application/xml and application/x-protostream"



  was:
Typically a browser automatically adds multiple mime types in the accept header, like:

"text/html, application.xhtml+xml,\*/\*"

But when requesting a document in a cache encoded with protostream with the headers above, the response is

"Cannot find transcoder between application/xml and application/x-protostream"





> Rest server doesn't handle wildcards in the Accept header
> ---------------------------------------------------------
>
>                 Key: ISPN-8566
>                 URL: https://issues.jboss.org/browse/ISPN-8566
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.2.0.Beta1, 9.1.3.Final
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>             Fix For: 9.2.0.Final, 9.1.4.Final
>
>
> Typically a browser automatically adds multiple mime types in the accept header, like:
> "text/html, application/xhtml+xml,\*/\*"
> But when requesting a document in a cache encoded with protostream with the headers above, the response is
> "Cannot find transcoder between application/xml and application/x-protostream"



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list