[infinispan-issues] [JBoss JIRA] (ISPN-2820) POST request with multipart/form-data encoding stores wrong content type
Dan Berindei (JIRA)
issues at jboss.org
Tue Oct 7 05:35:29 EDT 2014
[ https://issues.jboss.org/browse/ISPN-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-2820:
-------------------------------
Fix Version/s: 7.0.0.CR2
(was: 7.0.0.CR1)
> POST request with multipart/form-data encoding stores wrong content type
> ------------------------------------------------------------------------
>
> Key: ISPN-2820
> URL: https://issues.jboss.org/browse/ISPN-2820
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 5.2.1.Final
> Reporter: Dan Berindei
> Assignee: Tristan Tarrant
> Fix For: 7.0.0.CR2
>
>
> The REST server uses the {{Content-Type}} header of the POST request to determine the content type of the stored entry. But with {{Content-Type: multipart/form-data}}, each parameter can have its own content type (and {{multipart/form-data}} is definitely not any parameter's content type).
> This seems to be the way to do get the content type of each parameter: http://www.mkyong.com/webservices/jax-rs/file-upload-example-in-resteasy/
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list