On Thu, 2008-10-30 at 13:32 +0100, Christine wrote: > Hi, > I'm probably overlooking something, but how do I set the content-type in > a filebody in a multipart message? By default it gets set to > "application/octetstream" but it needs to be "image/jpeg". I'm trying to > upload a file to Picasaweb. > > dagdag > Christine >
It is an oversight on my part. Please open a change request in JIRA. Subclassing FileBody and overriding #getMediaType(), #getSubType() and #getMimeType() would be a reasonable workaround. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
