Hi,

If you wanna append attachment, you should attach it with nabble[1], the 
mailing list generally will filter out all attachment so we can't see your 
change for  AttachmentUtil.

[1]http://cxf.547215.n5.nabble.com/Attachment-header-migrating-problem-td5716613.html
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-10-15, at 下午4:35, Jinhua Wang wrote:

> 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
> 
> 

Reply via email to