[infinispan-issues] [JBoss JIRA] (ISPN-2820) POST request with multipart/form-data encoding stores wrong content type

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Mar 6 08:40:56 EST 2013


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

Mircea Markus updated ISPN-2820:
--------------------------------

    Fix Version/s: 5.3.0.Final
                       (was: 6.0.0.Final)

    
> 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: Galder Zamarreño
>             Fix For: 5.3.0.Final
>
>
> 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 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