]
Galder Zamarreño updated ISPN-3150:
-----------------------------------
Affects Version/s: 5.3.0.CR1
5.2.6.Final
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
Affects Versions: 5.2.6.Final, 5.3.0.CR1
Reporter: Martin Gencur
Assignee: Martin Gencur
Fix For: 5.3.0.CR2, 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...
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: