You're right. I snooped the traffic and it transfers raw binary. Excellent :)
Gili
Paul Sandoz wrote:
>
>
> On Nov 24, 2008, at 10:15 PM, Gili wrote:
>
>> Craig McClanahan (via Nabble) wrote:
>> > Binary entities will work just fine with multipart/mixed, just
>> like they
>> > work fine on individual entities with media types like
>> > "application/octet-stream".
>>
>> Yes, but it turns out that the content-type is not enough.
>> What
>> Content-Transfer-Encoding does jersey-multipart use by default?
>> http://en.wikipedia.org/wiki/MIME#Content-Transfer-Encoding
>>
>
> That refers to *SMTP* and not *HTTP*, they are very different
> transports:
>
>
> http://greenbytes.de/tech/webdav/rfc2616.html#no.content-transfer-encoding
>
> Don't worry it all works fine with HTTP :-) the best i can suggest is
> that you write a little server and client test and log/snoop the HTTP
> request/response just to confirm it works as you want.
>
> Paul.
>
>
--
View this message in context: http://n2.nabble.com/Sending-binary-files-over-multipart-mixed-tp1573660p1573877.html
Sent from the Jersey mailing list archive at Nabble.com.