cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jinhua Wang <ivywj...@gmail.com>
Subject Attachment header migrating problem
Date Mon, 15 Oct 2012 08:35:34 GMT
Hello

I have a migrating problem for headers in attachment.
For example, the message sent out contains* Content-ID:<foo>*,
Content-ID header value is "*<foo>*" instead of "*foo*" at server side.

When creating attachment of the following code:
org.apache.cxf.attachment.*AttachmentUtil.createAttachment*(InputStream,
InternetHeaders)
There's a id conversion at first. But in the following header processing,
there's no id conversion for Content-ID.

Since Content-ID conversion is needed for id(*"new AttachmentImpl(id)"*), I
think it is also useful for headers.
specification:http://www.ietf.org/rfc/rfc2392


Attachment is a example change for AttachmentUtil.

Best Regards

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message