[infinispan-issues] [JBoss JIRA] (ISPN-3150) Allow specifying "Accept" type for REST server for byte array values
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Fri Jun 7 09:55:55 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-3150:
-----------------------------------
Assignee: Martin Gencur (was: Galder Zamarreño)
> Allow specifying "Accept" type for REST server for byte array values
> --------------------------------------------------------------------
>
> Key: ISPN-3150
> URL: https://issues.jboss.org/browse/ISPN-3150
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Reporter: Martin Gencur
> Assignee: Martin Gencur
> Fix For: 5.3.0.Final
>
>
> Currently, byte array values are sent to the client with Content-type:application/x-java-serialized-object
> See https://github.com/infinispan/infinispan/blob/master/server/rest/src/main/scala/org/infinispan/rest/Server.scala#L177
> It would be nice if the default value for byte arrays was application/octet-stream because serializable types are already being sent back as application/x-java-serialized-object, which covers the case when a custom object (not byte array) is put in the cache. Or allow users to specify octet-stream by "Accept" HTTP header.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list