Hi,
CXF just send the headers as the Http header is they are part of protocol 
header.
Did you have chance to set the header like this ?

Map<String, Object> requestContext = client.getRequestContext();

 Map<String, List<String>> transportHeaders = new TreeMap<String, 
List<String>>(String.CASE_INSENSITIVE_ORDER);
List<String> value = new List<String>();
value.add("8bit");




transportHeaders.put("Content-Transfer-Encoding", value);


requestContext.put(Message.PROTOCOL_HEADERS, transportHeaders);



--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem




On Tuesday, December 11, 2012 at 2:33 AM, yylabelle wrote:

> Please note that I already tried to force cxf to change the
> content-transfer-encoding by setting it manually:  
>  
> Client client = ClientProxy.getClient(port);
> Map<String, Object> headers = client.getRequestContext();
> headers.put("Content-Transfer-Encoding", "8bit");
>  
> This doesn't seem to do anything.
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Strange-Content-Transfer-Encoding-problem-tp5719988p5719994.html
> Sent from the cxf-user mailing list archive at Nabble.com (http://Nabble.com).



Reply via email to