Hi Guzillaume,

Yes, you can turn "chunking" off on the client side.
You can "config" it the "Springway"

<http:conduit id="{.....}PortName">
         <client  AllowChunking="false">
 </http:conduit>

Or you can do it programatically by

SomePort port = service.getPort(...);

Client client = ClientProxy.getClient(port);
HttpConduit httpConduit               = (HTTPConduit) client.getConduit();
HTTPClientPolicy httpClientPolicy = httpConduit.getClient();

httpClientPolicy.setAllowChunking(false);

httpConduit.setClient(httpClientPolicy);

Cheers,
-Polar

tog wrote:
Hi,

I am preparing a patch for being able to use cxf with proxies. I was stuck till recently by a weird problem after playing and forging the POST request
that cxf is using, I found that my proxy was not supporting chunking. Is
there a way to turn this feature off ?

Cheers
Guillaume


Reply via email to