HttpProtocolParams.setUseExpectContinue(params, false) - when to set true?
Posted
by johnrock
on Stack Overflow
See other posts from Stack Overflow
or by johnrock
Published on 2010-05-08T19:22:59Z
Indexed on
2010/05/08
19:28 UTC
Read the original article
Hit count: 699
httpclient
I am using org.apache.http.impl.client.DefaultHttpClient to retrieve xml from a webservice and am trying to determine whether to set HttpProtocolParams.setUseExpectContinue(params, true) or HttpProtocolParams.setUseExpectContinue(params, false).
I am not clear on how to determine this. Can anyone offer a best practices guideline on when this should be true and when it should be false and also the possible implications of each setting?
Thanks!
© Stack Overflow or respective owner